-
Notifications
You must be signed in to change notification settings - Fork 0
getHijriMonthName
github-actions[bot] edited this page May 30, 2026
·
1 revision
date-fns-hijri / getHijriMonthName
getHijriMonthName(
hm,length?):string
Defined in: src/index.ts:123
Get the English name of a Hijri month.
number
Month number (1–12).
"long" | "medium" | "short"
'long' (default), 'medium', or 'short'.
string
If hm is not in [1, 12].
date-fns-hijri · MIT License · npm · Issues
Guides
Examples
Reference
API — Per Function
- toHijriDate
- fromHijriDate
- isValidHijriDate
- getHijriYear
- getHijriMonth
- getHijriDay
- getDaysInHijriMonth
- getHijriQuarter
- getHijriMonthName
- getHijriWeekdayName
- formatHijriDate
- addHijriMonths
- addHijriYears
- startOfHijriMonth
- endOfHijriMonth
- isSameHijriMonth
- isSameHijriYear
Community