jdmonthname

string jdmonthname(int JD, [int flag]) 
JD Julian day count
flag Integer flag indicating calendar type and month name format

Returns the name of the month for the Gregorian, Julian, Jewish, or French Republican calendar.

Returns:

Month name; 0 if the Julian day count is less than zero

Description:

jdmonthname() returns the month name from a Julian day count according to the specified flag type. If the flag argument is not set, flag is 0.

Mode Result
0 Returns the first three characters of the Gregorian calendar month name.
1 Returns the Gregorian month name.
2 Returns the first three characters of the Julian calendar month name.
3 Returns the Julian month name.
4 Returns the Jewish calendar month name.
5 Returns the French Republican ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.