返回月份名称

# jdmonthname

(PHP 4, PHP 5, PHP 7, PHP 8)

jdmonthname — 返回月份名称

### 说明

function jdmonthname(int `$julian_day`, int `$mode`): string

返回 string 类型的月份名称，`mode` 告诉此函数要将儒略历转化为哪个历法以及哪个类型的月份名称。

历法模式
模式 | 含义 | 值
--- | --- | ---
`CAL_MONTH_GREGORIAN_SHORT` | 公历 - 缩写 | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
`CAL_MONTH_GREGORIAN_LONG` | 公历 | January, February, March, April, May, June, July, August, September, October, November, December
`CAL_MONTH_JULIAN_SHORT` | 儒略历 - 缩写 | Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
`CAL_MONTH_JULIAN_LONG` | 儒略历 | January, February, March, April, May, June, July, August, September, October, November, December
`CAL_MONTH_JEWISH` | 犹太历 | Tishri, Heshvan, Kislev, Tevet, Shevat, Adar, Adar I, Adar II, Nisan, Iyyar, Sivan, Tammuz, Av, Elul
`CAL_MONTH_FRENCH` | 法国历 | Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra

### 参数

`julian_day`

  用来计算的儒略日

`mode`

  历法模式（见上表）。

### 返回值

指定的儒略日和 `mode` 的月份的名称。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open