jdtofrench

Converts a Julian Day Count to the French Republican Calendar

Syntax

jdtofrench(int $julian_day): string

Parameters

julian_day

A julian day number as integer

Return

The french revolution date as a string in the form "month/day/year"

Examples

<?

$month = 9;
$day = 22;
$year = 1806;

$julian_day = gregoriantojd($month, $day, $year);

$return = jdtofrench($julian_day);

echo $return;

?>
13/5/14

PHP

Home Menu