-
Notifications
You must be signed in to change notification settings - Fork 0
fromHijriDate
github-actions[bot] edited this page May 30, 2026
·
1 revision
date-fns-hijri / 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.
number
number
number
Date
If the Hijri date is invalid or outside the calendar's range.
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