Calendar.Hour Property

Definition

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.

Applies to

See also