(PHP 4 >= 4.1.0, PHP 5, PHP 7)
cal_from_jd — ת��Julian Day������һ��֧�ֵ�������
$jd
, int $calendar
) : array
cal_from_jd()�������ݸ�����Julian day��jd
����ת�����ض�����calendar
�е����ڡ�calendar
֧�ֵ�ֵ��CAL_GREGORIAN
��CAL_JULIAN
��CAL_JEWISH
��CAL_FRENCH
��
jd
һ��Julian day��������������
calendar
Ҫת���ɵ�����
����һ�����飬������������Ϣ���£��գ��꣬���ڣ����ڵ���д��ȫд���·ݵ���д��ȫд�����ڵ���ʽ��"��/��/��"��
Example #1 cal_from_jd() example
<?php
$today = unixtojd(mktime(0, 0, 0, 8, 16, 2003));
print_r(cal_from_jd($today, CAL_GREGORIAN));
?>
�������̻������
Array ( [date] => 8/16/2003 [month] => 8 [day] => 16 [year] => 2003 [dow] => 6 [abbrevdayname] => Sat [dayname] => Saturday [abbrevmonth] => Aug [monthname] => August )