Returns the Gregorian calendar month abbreviation string for January 13, 1998:
<?php$jd=gregoriantojd(1,13,1998);echo jdmonthname($jd,0);?>The jdmonthname() function returns the name of the month.
jdmonthname( jd,mode);
parameter | describe |
---|---|
jd | Required. Number (Julian day count). |
mode | Optional. Defines which calendar the Julian day count is converted to, and how to return the month name (full or abbreviated). Mode value: 0 - Gregorian calendar - abbreviated form (Jan, Feb, Mar, ...) 1 - Gregorian Calendar (January, February, March, ...) 2 - Julian Calendar - abbreviated form (Jan, Feb, Mar, ...) 3 - Julian Calendar (January, February, March, ...) 4 - Jewish calendar (Tishri, Heshvan, Kislev, ...) 5 - French Republican Calendar (Vendemaire, Brumaire, Frimaire, ...) |
Return value: | Returns the name of the month for the specified Julian day and calendar . |
---|---|
PHP version: | 4+ |