-
Notifications
You must be signed in to change notification settings - Fork 0
getHijriDay
github-actions[bot] edited this page May 30, 2026
·
1 revision
date-fns-hijri / getHijriDay
getHijriDay(
date,options?):number|null
Defined in: src/index.ts:98
Get the Hijri day of month (1–30) for a Gregorian date.
Returns null when the date is outside the supported range.
Date
number | null
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