Hour Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the hour component of the date represented by this instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public int Hour { get; }

Property Value

Type: System..::..Int32
The hour component, expressed as a value between 0 and 23.