GregorianCalendar: GetEra

GetEra

Returns the era that the specified time exists in.



 Public Function GetEra(
	  ByRef Time As Variant ) As Long

Parameters

Time
[ByRef] Variant. The time to find the containing era of.

Return Values

Long -  The era for the time.

Remarks

The GregorianCalendar class only supports the current era of AD. This returns a constant of 1.

See Also

Project CorLib Overview

Class GregorianCalendar Overview