CakeFest 2024: The Official CakePHP Conference

frenchtojd

(PHP 4, PHP 5, PHP 7, PHP 8)

frenchtojd从法国共和历日期转换为儒略日数

说明

frenchtojd(int $month, int $day, int $year): int

从法国历日期转换为儒略日数。

该函数仅转换第 1 年到第 14 年之间的日期(公历 1792 年 9 月 22 日到 1806 年 9 月 22 日)。 这涵盖并且超出了这个历法实际上采用的时间。

参数

month

月份的范围是 1 (Vendémiaire)到 13(每年年底的 5 到 6 天)之间的数字。

day

天的范围是 1 到 30 之间的数字

year

年份的范围是 1 到 14 之间的数字

返回值

指定法国共和历日期的 int 类型儒略日数。

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top