* @summary Get the number of days in a month of the given date.
5
*
6
* @description
7
* Get the number of days in a month of the given date.
8
*
9
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
*
11
* @param date - The given date
12
*
13
* @returns The number of days in a month
14
*
15
* @example
16
* // How many days are in February 2000?
17
* const result = getDaysInMonth(new Date(2000, 1))