System::Globalization::Calendar::GetHour method

Calendar::GetHour method

Gets hours for the specified time point.

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

ReturnValue

Hours in the time point passed.

See Also