Returns the era for the specified DateTime.
[Visual Basic] Overloads MustOverride Public Function GetEra( _ ByVal time As DateTime _ ) As Integer [C#] public abstract int GetEra( DateTime time ); [C++] public: virtual int GetEra( DateTime time ) = 0; [JScript] public abstract function GetEra( time : DateTime ) : int;
The era for the specified DateTime value.
Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.GetEra Overload List