System::Globalization::GregorianCalendar::GetYear method

GregorianCalendar::GetYear method

Gets year for the specified time point.

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

ReturnValue

Year in the time point passed.

See Also