Product Site

5.4.6.72. daysInMonth

Returns the number of days in the timestamp month. For example, for dates in January, 31 is returned. The daysInMonth method takes leap years into account, returning 28 for February in non-leap years, and 29 for leap years.