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