CorDateTimeStatic: DaysInMonth

DaysInMonth

Returns the number of days in a Gregorian calendar month.



 Public Function DaysInMonth(
	  ByVal Year As Long,
	  ByVal Month As Long ) As Long

Parameters

Year
[ByVal] Long. The year the month is in.
Month
[ByVal] Long. The month to find the number of days for.

Return Values

Long -  The number of days in the specified month.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview