Date.DaysInMonth(dateTime as any) as nullable number
Returns the number of days in the month in the
datetimezonevalue for which the number of days in the month is returned.
Number of days in the month December as represented by
#date(2011, 12, 01).
Date.DaysInMonth(#date(2011, 12, 01))