JDMonthName

编辑

(PHP 4, PHP 5, PHP 7)

JDMonthName — 返回月份的名称

PHP中文网词条详解说明

string jdmonthname ( int $julianday , int $mode )

返回一个月份名称的字符串,mode参数指定使用哪种历法和月份名称的形式。 

Calendar modes
ModeMeaningValues
0Gregorian - abbreviatedJan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
1GregorianJanuary, February, March, April, May, June, July, August, September, October, November, December
2Julian - abbreviatedJan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
3JulianJanuary, February, March, April, May, June, July, August, September, October, November, December
4JewishTishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul
5French RepublicanVendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra

PHP中文网词条详解参数

jday

用来计算的julian天数

calendar

历法的月份的名字 

PHP中文网词条详解返回值

根据指定的julian天数和calendar历法参数而得到月份的名称。  

参考资料
    词条标签:
    JDMonthName