PHP - Function FrenchToJD()
frenchtojd ( $month, $day, $year );
Definition and Usage
It converts a date from the French Republican Calendar to a Julian Day Count.
|Sr.No||Parameter & Description|
The month as a number from 1 to 13.
The day as a number from 1 to 30
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 −