SPRegionalSettings.Time24 property

Gets or sets a Boolean value that specifies whether to use a 24-hour time format in representing the hours of the day.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Time24 As Boolean
    Get
    Set
'Usage
Dim instance As SPRegionalSettings
Dim value As Boolean

value = instance.Time24

instance.Time24 = value
public bool Time24 { get; set; }

Property value

Type: System.Boolean
true if the hours of the day are represented in 24-hour format; otherwise, false to display in 12 hour AM/PM format.

See also

Reference

SPRegionalSettings class

SPRegionalSettings members

Microsoft.SharePoint namespace