mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-06-30 18:54:25 +00:00
720 B
720 B
date-fns-hijri / toHijriDate
Function: toHijriDate()
toHijriDate(
date,options?):HijriDate|null
Defined in: src/index.ts:28
Convert a Gregorian Date to a Hijri date object.
Returns null when the date falls outside the calendar's supported range
(UAQ: 1318–1500 AH / 1900–2076 CE; FCNA extends slightly further).
Parameters
date
Date
options?
Returns
HijriDate | null