System.Globalization.Calendar.CurrentEra Field

Represents the current era of the current calendar.

Value: 0

Syntax

public const int CurrentEra

Remarks

The Calendar.CurrentEra field represents the index of the current era in the Calendar.Eras array. Because eras are arranged in reverse chronological order (from the current era to earlier eras), this field is a constant that has a value of 0.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0