Convert a French Republican date to a Julian Day Count and then convert it back to a French Republican date.
<?php $jd=frenchtojd(3,3,14); echo $jd . “<br>”; echo jdtofrench($jd); ?> |
The jdtofrench() function converts a Julian Day Count to a French Republican date.
Tip: Use the frenchtojd() function to convert a French Republican date to a Julian Day Count.
jdtofrench(jd); |
Parameter |
Description |
jd |
Required. A Julian Day Number. |
Return Value: |
Returns a French Republican date in the format “month/day/year”. |
PHP Version: |
4+ |