SP.RegionalSettings.dateFormat property (sp.js)
Gets the date format that is used on the server.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.RegionalSettings.get_dateFormat ()
Return value
Undefined
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/RegionalSettings/dateFormat
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/RegionalSettings/dateFormat
GET syntax
GET http://<sitecollection>/<site>/_api/web/RegionalSettings/dateFormat