@technobuddha > library > Time > Day
Function: beginningOfDay()
ts
function beginningOfDay(input: Date, options: DateOptions): Date;Defined in: beginning-of-day.ts:12
Determine the start of the day for a date
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date |
options | DateOptions | see DateOptions |
Returns
The date value for midnight on the specified day
Default Value
ts
utc false