Returns the hour part of the specified DateTime.
[Visual Basic] Overridable Public Function GetHour( _ ByVal time As DateTime _ ) As Integer [C#] public virtual int GetHour( DateTime time ); [C++] public: virtual int GetHour( DateTime time ); [JScript] public function GetHour( time : DateTime ) : int;
The hour part of the specified DateTime. The returned value is an integer between 0 and 23.[RB19]
The returned value is an integer between 0 and 23.[RB20]
Calendar Class | Calendar Members | System.Globalization Namespace