PHP中的JDToFrench()函数
该JDToFrench()
函数将儒略日计数转换为法国共和党日期。
语法
jdtofrench(julian_day);
参数
julian_day-朱利安天数
返回
该JDToFrench()
函数以字符串形式“月/日/年”返回法国革命日期。
示例
以下是一个例子-
<?php $res = frenchtojd(11,11,18); echo $res . "<br>"; echo jdtofrench($res); ?>
输出结果
以下是输出-
2380715 5/8/14