GregorianCalendar: GetMonthsInYear

GetMonthsInYear

Returns the number of months in the specified year.



 Public Function GetMonthsInYear(
	  ByVal Year As Long,
	  Optional ByRef Era As Variant ) As Long

Parameters

Year
[ByVal] Long. The year to get the number of months of.
Era
[ByRef] Optional. Variant. The era the year exists in.

Return Values

Long -  The number of months in the year.

Remarks

The Gregorian calendar has 12 months in a year.

See Also

Project CorLib Overview

Class GregorianCalendar Overview