FDateTime::DaysInMonth

Gets the number of days in the year and month.