monthName
Get the name of a month.
monthName()
Get the name of a month.
Get the name of a month
Signature
monthName(index?: Enumerate<12>): MonthNameParameters
index(optional): A number from0to11representing the month, where0is January and11is December. If omitted, it defaults to the current month from theChronosinstance.
Return Value
MonthName— The full name of the month ("January","February", ...,"December").
Example Usage
playground.ts
Info
- This method supports overriding the current month with a specific index.
- Internally, it maps indices
0–11to the English names of the months.
Last updated: Thu, May 21, 2026 03:51:36PM (UTC)
