Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Globalization
  3. DateTimeFormatInfo
  4. GetEraName(Int32)
  • DateTimeFormatInfo
    • DateTimeFormatInfo()
    • AbbreviatedDayNames
    • AbbreviatedMonthGenitiveNames
    • AbbreviatedMonthNames
    • AMDesignator
    • Calendar
    • CalendarWeekRule
    • CurrentInfo
    • DateSeparator
    • DayNames
    • FirstDayOfWeek
    • FullDateTimePattern
    • InvariantInfo
    • IsReadOnly
    • LongDatePattern
    • LongTimePattern
    • MonthDayPattern
    • MonthGenitiveNames
    • MonthNames
    • NativeCalendarName
    • PMDesignator
    • RFC1123Pattern
    • ShortDatePattern
    • ShortestDayNames
    • ShortTimePattern
    • SortableDateTimePattern
    • TimeSeparator
    • UniversalSortableDateTimePattern
    • YearMonthPattern
    • Clone()
    • GetAbbreviatedDayName(DayOfWeek)
    • GetAbbreviatedEraName(Int32)
    • GetAbbreviatedMonthName(Int32)
    • GetAllDateTimePatterns()
    • GetAllDateTimePatterns(Char)
    • GetDayName(DayOfWeek)
    • GetEra(String)
    • GetEraName(Int32)
    • GetFormat(Type)
    • GetInstance(IFormatProvider)
    • GetMonthName(Int32)
    • GetShortestDayName(DayOfWeek)
    • ReadOnly(DateTimeFormatInfo)
    • SetAllDateTimePatterns(String[], Char)
net451
namespace System.Globalization
{
    [ComVisible(true)]
    public sealed class DateTimeFormatInfo : ICloneable, IFormatProvider
    {
        public string GetEraName(int era);
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
1.01.12.02.12.23.03.1
.NET Framework
1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
1.01.11.21.31.41.51.62.02.1
Information specific to net451
Assembly

mscorlib , Version=4.0.0.0, PublicKeyToken=b77a5c561934e089

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/25/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙