DateFormat Type

Lists values that specify format types for date values.

Declaration

export type DateFormat = 'Default' | 'Long' | 'Short'

Members

Name Description
"Default"

The default date formatting.

"Long"

Long date pattern.
Example: 6/15/2009 -> Monday, June 15, 2009 (en-US)

"Short"

Short date pattern.
Example: 6/15/2009 -> 6/15/2009 (en-US)

Remarks

Values in this type alias are used to set the DataItemDateTimeFormat.dateFormat property.