Retrieves the hour part represented by this instance.
[Visual Basic] Public ReadOnly Property Hour As Integer [C#] public int Hour {get;} [C++] public: __property int get_Hour(); [JScript] public function get Hour() : int;
Read-only.
The Hour property returns a value that is an 32-bit signed integer (int) between 0 and 23 for the number of the hour in the day.
DateTime Structure | DateTime Members | System Namespace | Int32 | Ticks