DaysInMonth

Top  Previous  Next

Function

Parameters

Return value

DaysInMonth

int year,

int month

int

 

Returns the number of days in the specified month and year.

 

Example:

 

DaysInMonth(2009, 7) = 31