daysInMonth

daysInMonth(): Integer;

The daysInMonth method of the Date primitive type returns the number of days in the month of the date value of the receiver (accounting for leap years).

2020.0.01 and higher