Calendar.Hour Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the hour.
public:
property int Hour { int get(); void set(int value); };
int Hour();
void Hour(int value);
public int Hour { get; set; }
var int32 = calendar.hour;
calendar.hour = int32;
Public Property Hour As Integer
Property Value
Int32
int
The hour, in language-specific format (12 or 24 hour clock).
Remarks
This value is dependent on the Preferred languages setting in Settings -> Time & Language -> Language.