SP.FieldCalculated.dateFormat Property
Applies to: SharePoint Foundation 2010
Gets or sets the date and time format that is displayed in the field.
var value = SP.FieldCalculated.get_dateFormat();SP.FieldCalculated.set_dateFormat(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.