PHP JDMonthName() Function
Example
Return the abbreviated string of the Gregorian calendar for the month of October 15, 1980:
<?php $jd=gregoriantojd(10,15,1980); echo jdmonthname($jd,0); ?>
Definition and Usage
jdmonthname() function returns the name of the month.
Syntax
jdmonthname(jd,mode);
Parameter | Description |
---|---|
jd | Required. Number (Julian day count). |
mode |
Optional. Define 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: | Return the specified Julian day and the month name of the calendar. |
---|---|
PHP Version: | 4+ |