GetYear()

Calendar::GetYear(DateTime) const method

Gets year for the specified time point.

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

Arguments

ParameterTypeDescription
timeDateTimeTime and date to extract data from.

Return Value

Year in the time point passed.

See Also