Share via


SPRegionalSettings.GetDefaultTime24 Method

Returns a Boolean value that specifies whether the 24-hour time format is the default format for representing time on the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function GetDefaultTime24 ( _
    lcid As UInteger _
) As Boolean
'Usage
Dim instance As SPRegionalSettings
Dim lcid As UInteger
Dim returnValue As Boolean

returnValue = instance.GetDefaultTime24(lcid)
public bool GetDefaultTime24(
    uint lcid
)

Parameters

  • lcid
    Type: System.UInt32

    An unsigned 32-bit integer that specifies the locale ID.

Return Value

Type: System.Boolean
true if the 24-hour time format is the default format; otherwise, false.

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace