frenchtojd
Convert dates from the French Republic to Julian day counts.
frenchtojd()
function converts the dates of the French republic calendar into Julian day counts.
Tip: The French Republican calendar was a calendar proposed during the French Revolution. It was used by the French government for about 12 years since the late 1793. This function converts only dates within 1 to 14 years (Gregori dates September 22, 1792 - September 22, 1806).
Tip: See jdtofrench() 函数
for converting Julian days counts to dates in the French republican calendar.
Convert the dates of the French Republic to Julian day counts and then convert them back to the dates of the French Republic:
<?php $jd = frenchtojd ( 3 , 3 , 14 ) ; echo $jd . "<br>" ; echo jdtofrench ( $jd ) ; ?>
Run the instance
frenchtojd ( month , day , year ) ;
parameter | describe |
---|---|
month | Required. Numbers from 1 to 13, specified months. |
day | Required. Numbers from 1 to 30, specified date. |
year | Required. Numbers from 1 to 14, specify year. |