daysInMonth

Determine the number of days in a month, 1..31.

int
daysInMonth
(
int year
,
int month
)

Parameters

year int

Gregorian year that contains the month in question

month int

1..12

Meta