System::Globalization::GregorianCalendar::GetEra method

GregorianCalendar::GetEra method

Gets era for the specified time point.

int System::Globalization::GregorianCalendar::GetEra(DateTime time) const override
ParameterTypeDescription
timeDateTimeTime and date to extract data from.

ReturnValue

Era of the time point passed.

See Also