This topic has not yet been rated - Rate this topic

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ