Share via


SP.FieldCalculated.dateFormat property (sp.js)

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

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

var value = SP.FieldCalculated.get_dateFormat ()
var value = SP.FieldCalculated.set_dateFormat ()

Return value

Type: SP.DateTimeFieldFormatType

One of the enumeration values that indicate the format of the date and time to display in the field.