PHP jdmonthname() Function
Example
Return the abbreviated month name in the Gregorian calendar for January 13, 1998:
Run Example »
Definition and Usage
The jdmonthname() function returns the name of a month.
Syntax
jdmonthname(
jd,mode);
| Parameters | Description |
|---|---|
| jd | Required. A number (the Julian day count). |
| mode | Optional. Defines which calendar the Julian day count is converted to, and how the month name is returned (full or abbreviated). Mode values:
|
Technical Details
| Return Value: | Returns the name of the month for the specified Julian day and calendar calendar. |
|---|---|
| PHP Version: | 4+ |
PHP Calendar Reference Manual