C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
DateTime Structure
DateTime Properties
Date Property
Day Property
DayOfWeek Property
Hour Property
Kind Property
Minute Property
Month Property
Now Property
Second Property
UtcNow Property
Year Property
DateTime
Hour Property
Gets the hour component of the date represented by this instance.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
int
Hour
{
get
; }
Return Value
Type:
Int32
The hour component, expressed as a value between 0 and 23.
See Also
Reference
DateTime Structure
System Namespace