SP.RegionalSettings.time24 property (sp.js)

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

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.RegionalSettings.get_time24 ()

Return value

Undefined

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/RegionalSettings/time24

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/RegionalSettings/time24

GET syntax

GET http://<sitecollection>/<site>/_api/web/RegionalSettings/time24