把法国共和历的日期转换为儒略日计数,然后再转换回法国共和历的日期:
<?php
$jd=frenchtojd(3,3,14,NULL);
echo $jd . "<br>";
echo jdtofrench($jd,NULL);
?>
frenchtojd() 函数把法国共和历法的日期转换为儒略日计数。
frenchtojd(month,day,year,NULL);
参数 | 描述 |
---|---|
month | 必需。从 1 到 13 的数字,规定月。 |
day | 必需。从 1 到 30 的数字,规定日。 |
year | 必需。从 1 到 14 的数字,规定年。 |
返回值: | 返回儒略日数字。 |
---|---|
PHP 版本: | 4+ |
©2020 IT自习室京ICP备20010815号