GetEra()

DateTimeFormatInfo::GetEra(const String&) const method

Gets era by name.

int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const

Arguments

ParameterTypeDescription
era_nameconst String&Era name.

Return Value

Era index.

See Also