System::Globalization::Calendar::GetEra method

Calendar::GetEra method

Gets era for the specified time point.

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

ReturnValue

Era of the time point passed.

See Also