CurrentEra Field
Collapse the table of content
Expand the table of content

Calendar.CurrentEra Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents the current era of the current calendar.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public const int CurrentEra

The CurrentEra field represents the index of the current era in the 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft