PHP jdtofrench()Functions
Example
Convert the French Republican Calendar date to a Julian Day Count, and then convert it back to a French Republican Calendar date:
<?php
$jd=frenchtojd(3,3,14);
echo $jd . "<br>";
echo jdtofrench($jd);
?>
$jd=frenchtojd(3,3,14);
echo $jd . "<br>";
echo jdtofrench($jd);
?>
Run Example »
Definition and Usage
The jdtofrench() function converts a Julian Day Count to a French Republican date.
Tip:See the frenchtojd()function, which is used to convert a French Republican date to a Julian Day Count.
Syntax
jdtofrench(jd);
| Parameter | Description |
|---|---|
| jd | Required. A number (Julian Day Count). |
Technical Details
| Return Value: | Returns the French Republican date in the form "month/day/year". |
|---|---|
| PHP Version: | 4+ |
PHP Calendar Reference Manual Other Extensions