GetEra()

Calendar::GetEra(DateTime) const method

Gets era for the specified time point.

virtual int System::Globalization::Calendar::GetEra(DateTime time) const

Arguments

ParameterTypeDescription
timeDateTimeTime and date to extract data from.

Return Value

Era of the time point passed.

See Also