SP.RegionalSettings.alternateCalendarType property (sp.js)

Gets or sets an alternate calendar type that is used on the server.

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

var value = SP.RegionalSettings.get_alternateCalendarType ()

Return value

A 16-bit integer that specifies the type of alternate calendar.

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

GET syntax

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

Remarks

The AlternateCalendarType property accepts the following integer values:

  • 0 —? None

  • 1 —? Gregorian

  • 3 —? Japanese Emperor Era

  • 5 —? Korean Tangun Era

  • 6 —? Hijri

  • 7 —? Buddhist

  • 8 —? Hebrew Lunar

  • 9 —? Gregorian Middle East French Calendar

  • 10 —? Gregorian Arabic Calendar

  • 11 —? Gregorian Transliterated English Calendar

  • 12 —? Gregorian Transliterated French Calendar

  • 16 —? Saka Era

If set to any other value, the Gregorian calendar is used.