@technobuddha > library > Time > Week
Function: dayOfWeek()
ts
function dayOfWeek(input: Date, options: DateOptions): DayOfWeek;Defined in: day-of-week.ts:13
Determine the day of the week for a specific date
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date |
options | DateOptions | see DateOptions |
Returns
The date value for midnight on the first day of the specified year
Default Value
ts
utc false