mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-07-01 11:14:26 +00:00
576 B
576 B
date-fns-hijri / getHijriMonth
Function: getHijriMonth()
getHijriMonth(
date,options?):number|null
Defined in: src/index.ts:89
Get the Hijri month (1–12) for a Gregorian date.
Returns null when the date is outside the supported range.
Parameters
date
Date
options?
Returns
number | null