array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.frenchtojd.php', 1 => 'frenchtojd', ), 'up' => array ( 0 => 'ref.calendar.php', 1 => 'Calendar 函数', ), 'prev' => array ( 0 => 'function.easter-days.php', 1 => 'easter_days', ), 'next' => array ( 0 => 'function.gregoriantojd.php', 1 => 'gregoriantojd', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', '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 — 从法国共和历日期转换为儒略日数
从法国历日期转换为儒略日数。
该函数仅转换第 1 年到第 14 年之间的日期(公历 1792 年 9 月 22 日到 1806 年 9 月 22 日)。 这涵盖并且超出了这个历法实际上采用的时间。
month
月份的范围是 1 (Vendémiaire)到 13(每年年底的 5 到 6 天)之间的数字。
day
天的范围是 1 到 30 之间的数字
year
年份的范围是 1 到 14 之间的数字
指定法国共和历日期的 int 类型儒略日数。