returnmonthlength
|
|||
|
returnmonthlength -- returns the number of days in a given month
Description int returnmonthlength(int month,int year) Returns an integer representing the number of days in a given month. month is an integer between 1 and 12, where 1 represents January and 12 represents December. year is a 4 figure integer representation of the year, e.g. 2004 This function is leap year aware, so returnmonthlength(2,2004) returns 29 while returnmonthlength(2,2003) returns 28. |
|||
|