Skip to content

getHijriDay

github-actions[bot] edited this page May 30, 2026 · 1 revision

date-fns-hijri v1.0.1


date-fns-hijri / getHijriDay

Function: 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.

Parameters

date

Date

options?

ConversionOptions

Returns

number | null

Clone this wiki locally