This documentation is archived and is not being maintained.

SP.FieldDateTime object

SharePoint 2013

Specifies a field that contains date and time values.

Last modified: March 09, 2015

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

var object = new SP.FieldDateTime()

The FieldDateTime object has the following members.

Constructor

The FieldDateTime object has the following constructor.

Constructor

Description

FieldDateTime

Initializes a new instance of the SP.FieldDateTime object.

Properties

The FieldDateTime object has the following properties.

Property

Description

dateTimeCalendarType

Gets or sets a value that specifies the calendar type of the field.

displayFormat

Gets or sets the format of the date and time that is displayed in the field.

friendlyDisplayFormat

Show: