PHP - Function FrenchToJD()
frenchtojd ( $month, $day, $year );
Definition and Usage
Converts a date from the French Republican Calendar to a Julian Day Count.
This routine only convert dates in years 1 through 14 (Gregorian dates 22 September 1792 through 22 September 1806). This more than covers the period when the calendar was in use.
|month||Required. The month as a number from 1 to 13.|
|day||Required. The day as a number from 1 to 30|
|year||Required. The year as a number between 1 and 14|
The julian day for the given french revolution date as an integer.
Try out following example −
<?php $d=frenchtojd(3,3,14); echo($d); ?>
This will produce the following result −