NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime.Hour

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;

Property Value

Read-only.

Remarks

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.

See Also

DateTime Structure | DateTime Members | System Namespace | Int32 | Ticks