Skip to main content

Function: dayOfWeekSunday0()

dayOfWeekSunday0(d): number

Defined in: src/lib/dates/index.ts:225

Day of week in US calendar ordering, with Sunday = 0 … Saturday = 6. Backs the legacy sundayWeekStart helper and the holiday calendar; billing/pay now key on the Mon–Sun week.

Parameters

d

CalendarDate

The calendar date.

Returns

number

0 (Sunday) through 6 (Saturday).