@technobuddha > library > Time > Year
Function: endOfYear()
ts
function endOfYear(input: Date, options: DateOptions): Date;Defined in: end-of-year.ts:13
Determine the last day of the year containing a date
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date |
options | DateOptions | see DateOptions |
Returns
Midnight of the last day of the year containing the input date
Default Value
ts
utc false