DateTimeControl.HoursMode24 Property
Gets or sets a value that indicates whether or not the time is displayed using a 24-hour clock.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<BindableAttribute(True)> _
Public Property HoursMode24 As Boolean
Get
Set
'Usage
Dim instance As DateTimeControl
Dim value As Boolean
value = instance.HoursMode24
instance.HoursMode24 = value
[BindableAttribute(true)]
public bool HoursMode24 { get; set; }
Property Value
Type: System.Boolean
true if the time is displayed using a 24-hour clock; otherwise, false. The default is false.