PHP JDToFrench() Function

Example

Convert the date of the French Republican calendar to Julian day count and then back to the date of the French Republican calendar:

<?php
$jd=frenchtojd(3,3,14);
echo $jd . "<br>";
echo jdtofrench($jd);
?>

Run Example

Definition and Usage

The jdtofrench() function converts Julian day count to the date of the French Republican calendar.

Tip:See Also frenchtojd() Function, used to convert the date of the French Republican calendar to Julian day count.

Syntax

jdtofrench(jd);
Parameters Description
jd Required. Number (Julian day count).

Technical Details

Return Value: Returns the date of the French Republican calendar in the format "month/day/year".
PHP Version: 4+