The frenchtojd() function converts a date from the French Republican Calendar to a Julian Day Count.
PHP frenchtojd() Function has the following syntax.
|month||Required.||Month as a number from 1 to 13|
|day||Required.||Day as a number from 1 to 30|
|year||Required.||Year as a number from 1 to 14|
Convert a French Republican date to a Julian Day Count and back to a French Republican date:
<?php $jd=frenchtojd(3,3,14); echo $jd . "\n"; echo jdtofrench($jd); ?>
The code above generates the following result.