(PHP 4, PHP 5, PHP 7, PHP 8)
JDMonthName — 返回月份的名稱
$julianday
, int $mode
): string
返回一個月份名稱的字符串,mode
參數(shù)指定使用哪種歷法和月份名稱的形式。
Mode | Meaning | Values |
---|---|---|
0 | Gregorian - abbreviated | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec |
1 | Gregorian | January, February, March, April, May, June, July, August, September, October, November, December |
2 | Julian - abbreviated | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec |
3 | Julian | January, February, March, April, May, June, July, August, September, October, November, December |
4 | Jewish | Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul |
5 | French Republican | Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra |
jday
用來計算的julian天數(shù)
calendar
歷法的月份的名字
根據(jù)指定的julian天數(shù)和calendar
歷法參數(shù)而得到月份的名稱。