array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.frenchtojd.php', 1 => 'frenchtojd', ), 'up' => array ( 0 => 'ref.calendar.php', 1 => 'Calendar Functions', ), 'prev' => array ( 0 => 'function.easter-days.php', 1 => 'easter_days', ), 'next' => array ( 0 => 'function.gregoriantojd.php', 1 => 'gregoriantojd', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/calendar/functions/frenchtojd.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
frenchtojd — Converts a date from the French Republican Calendar to a Julian Day Count
Converts a date from the French Republican Calendar to a Julian Day Count.
These routines 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
The month as a number from 1 (for Vendémiaire) to 13 (for the period of 5-6 days at the end of each year)
day
The day as a number from 1 to 30
year
The year as a number between 1 and 14
The julian day for the given french revolution date as an integer.