Skip to content

@technobuddha > library > Time > Day

Function: endOfDay()

ts
function endOfDay(input: Date, options: DateOptions): Date;

Defined in: end-of-day.ts:12

Determine the end of the day for a date

Parameters

ParameterTypeDescription
inputDateThe date
optionsDateOptionssee DateOptions

Returns

Date

The date value for the last millisecond of the specified day

Default Value

ts
utc false