daysInMonth
Returns number of days in current month.
daysInMonth()
Returns number of days in current month.
Signature
daysInMonth(): NumberRange<28, 31>Return Type
NumberRange<28, 31> - Days in month (28 | 29 | 30 | 31)
Example
playground.ts
Last updated: Thu, May 21, 2026 09:14:30AM (UTC)
