SP.FieldDateTime.displayFormat Property

Applies to: SharePoint Foundation 2010

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

var value = SP.FieldDateTime.get_displayFormat();

SP.FieldDateTime.set_displayFormat(value);

Property Value

Type: SP.DateTimeFieldFormatType

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

Applies To

SP.FieldDateTime Class

See Also

Reference

SP.FieldDateTime Methods

SP.FieldDateTime Properties

SP Namespace