DaysInMonth
Function
Parameters
Return value
int year,
int month
int
Returns the number of days in the specified month and year.
Example:
DaysInMonth(2009, 7) = 31