Bridge

DateTime..::..Hour Property

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

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

Syntax


[TemplateAttribute]
public int Hour { get; }
<TemplateAttribute> _
Public ReadOnly Property Hour As Integer
	Get
[TemplateAttribute]
public:
property int^ Hour {
	int^ get ();
}

Return Value

The hour component, expressed as a value between 0 and 23.