PHP JDMonthName() Function
Example
Returns the abbreviated string of the month of the Gregorian calendar for October 15, 1980:
<?php $jd=gregoriantojd(10,15,1980); echo jdmonthname($jd,0); ?>
Definition and Usage
The jdmonthname() function returns the name of the month.
Syntax
jdmonthname(jd,mode);
Parameter | Description |
---|---|
jd | Required. Number (Julian day count). |
mode |
Optional. Defines which calendar to convert Julian day count to, and how to return the month name (full name or abbreviation). Pattern value:
|
Technical Details
Return value: | Returns the specified Julian day and the month name of the calendar. |
---|---|
PHP Version: | 4+ |