array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.jdmonthname.php', 1 => 'jdmonthname', ), 'up' => array ( 0 => 'ref.calendar.php', 1 => 'Calendar Functions', ), 'prev' => array ( 0 => 'function.jddayofweek.php', 1 => 'jddayofweek', ), 'next' => array ( 0 => 'function.jdtofrench.php', 1 => 'jdtofrench', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/calendar/functions/jdmonthname.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
jdmonthname — Returns a month name
Returns a string containing a month name.
mode
tells this function which calendar to
convert the Julian Day Count to, and what type of month names are
to be returned.
Mode | Meaning | Values |
---|---|---|
CAL_MONTH_GREGORIAN_SHORT |
Gregorian - abbreviated | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec |
CAL_MONTH_GREGORIAN_LONG |
Gregorian | January, February, March, April, May, June, July, August, September, October, November, December |
CAL_MONTH_JULIAN_SHORT |
Julian - abbreviated | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec |
CAL_MONTH_JULIAN_LONG |
Julian | January, February, March, April, May, June, July, August, September, October, November, December |
CAL_MONTH_JEWISH |
Jewish | Tishri, Heshvan, Kislev, Tevet, Shevat, Adar, Adar I, Adar II, Nisan, Iyyar, Sivan, Tammuz, Av, Elul |
CAL_MONTH_FRENCH |
French Republican | Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra |
jday
The Julian Day to operate on
mode
The calendar mode (see table above).
The month name for the given Julian Day and mode
.