UNPKG

@uplink-protocol/calendar-controller

Version:

Flexible calendar API supporting both calendar and date-picker integrations for any JavaScript framework or library

34 lines (17 loc) 556 B
[**@uplink-protocol/form-controller v0.2.1**](../README.md) *** [@uplink-protocol/form-controller](../globals.md) / getDaysInMonth # Function: getDaysInMonth() > **getDaysInMonth**(`year`, `month`): `number` Defined in: [utils/calendar.utils.ts:11](https://github.com/jmkcoder/uplink-protocol-calendar/blob/311e0b81efba7399cf1c367c0a2007aa66f3b830/src/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