cDateTimeStatic: 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.

Remarks

See Also

Project VBCorLib Overview Class cDateTimeStatic Overview cDateTimeStatic Properties cDateTimeStatic Methods DayOfWeek FromBinary