SP.RegionalSettings.dateSeparator property (sp.js)

Gets the separator that is used for dates on the server.

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

var value = SP.RegionalSettings.get_dateSeparator ()

Return value

A string that specifies the date separator.

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

GET syntax

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