mirror of
https://github.com/acamarata/hijri-core.git
synced 2026-07-01 11:14:28 +00:00
722 B
722 B
hijri-core / toGregorian
Function: toGregorian()
toGregorian(
hy,hm,hd,options?):Date|null
Defined in: index.ts:60
Convert a Hijri date to a Gregorian date.
Uses the UAQ calendar by default.
Parameters
hy
number
Hijri year
hm
number
Hijri month (1-12)
hd
number
Hijri day (1-30)
options?
conversion options (calendar engine selection)
Returns
Date | null
a Date in UTC, or null if the input is invalid or out of range