@uplink-protocol/calendar-controller
Version:
Flexible calendar and time picker API supporting both calendar, date-picker, and time-picker integrations for any JavaScript framework or library
34 lines (17 loc) • 566 B
Markdown
[**@uplink-protocol/form-controller v0.3.1**](../README.md)
***
[@uplink-protocol/form-controller](../globals.md) / getDaysInMonth
# Function: getDaysInMonth()
> **getDaysInMonth**(`year`, `month`): `number`
Defined in: [Date/utils/calendar.utils.ts:11](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Date/utils/calendar.utils.ts#L11)
Get the number of days in a month
## Parameters
### year
`number`
The year
### month
`number`
The month (0-11)
## Returns
`number`
Number of days in the month