@technobuddha > library > Time > Month
Function: daysInMonth()
ts
function daysInMonth(input: Date, options: DateOptions): number;Defined in: days-in-month.ts:13
Determine the number of days in the month for a date
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date |
options | DateOptions | see DateOptions |
Returns
number
The number of days in the specified month
Default Value
ts
utc false