Skip to content

getHijriWeekdayName

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

date-fns-hijri v1.0.1


date-fns-hijri / getHijriWeekdayName

Function: getHijriWeekdayName()

getHijriWeekdayName(date, length?): string

Defined in: src/index.ts:148

Get the Arabic weekday name for a Gregorian date.

Uses Date.getDay() (0 = Sunday, 6 = Saturday) as the index.

Parameters

date

Date

Any Gregorian Date.

length?

"long" | "short"

'long' (default) or 'short'.

Returns

string

Clone this wiki locally