System::Globalization::DateTimeFormatInfo::GetEra method

DateTimeFormatInfo::GetEra method

Gets era by name.

int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
ParameterTypeDescription
era_nameconst String&Era name.

ReturnValue

Era index.

See Also