实例
把儒略日计数转换为格利高里历法的日期:
<?php $d=unixtojd(mktime(0,0,0,9,25,2016)); print_r(cal_from_jd($d,CAL_GREGORIAN)); ?>运行结果:
Array ( [date] => 9/25/2016 [month] => 9 [day] => 25 [year] => 2016 [dow] => 0 [abbrevdayname] => Sun [dayname] => Sunday [abbrevmonth] => Sep [monthname] => September )