Return the abbreviated Gregorian monthname of 13th January, 1998:
<?php
$jd=gregoriantojd(1,13,1998);
echo jdmonthname($jd,0);
?>
Run Example »
The jdmonthname() function returns a month name.
jdmonthname(
jd,mode);
Parameter | Description |
---|---|
jd | Required. A Julian Day number |
mode | Optional. Specifies which calendar to convert the Julian Day Count to, and how the month name is to be returned. Mode values:
|
Return Value: | Returns the month name for the specified Julian Day and calendar |
---|---|
PHP Version: | 4+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!