Return the abbreviated Gregorian month name for January 13, 1998.
| <?php $jd=gregoriantojd(1,13,1998); echo jdmonthname($jd,0); ?> |
The jdmonthname() function returns the name of a month.
| jdmonthname(jd,mode); |
|
Parameter |
Description |
|
jd |
Required. A Julian Day Number. |
|
mode |
Optional. Specifies the calendar to convert the Julian Day Number to and how to return the month name. Mode values are:
|
|
Return Value: |
Returns the month name for the given Julian Day Number and calendar system. |
|
PHP Version: |
4+ |