mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-07-01 11:14:26 +00:00
680 B
680 B
date-fns-hijri / fromHijriDate
Function: fromHijriDate()
fromHijriDate(
hy,hm,hd,options?):Date
Defined in: src/index.ts:39
Convert a Hijri date to a Gregorian Date.
The returned Date is set to midnight UTC of the equivalent Gregorian day.
Parameters
hy
number
hm
number
hd
number
options?
Returns
Date
Throws
If the Hijri date is invalid or outside the calendar's range.