supports a variety of date-time formats, each of which has additional variations to it.

Supported Date Ranges: 

You can use dates in the Gregorian calendar system only. Dates in the Julian calendar are not supported.

You can use the following format strings to change the format of a column of dates:

LetterDate or Time ComponentPresentationExamples
MMonth in yearNumber1
MMMonth in yearNumber01
MMMMMonth in yearMonthJanuary
MMMMonth in yearMonthJan
DDay in yearNumber352
dDay in monthNumber9
ddDay in a monthNumber09
EEE Day in week (three-letter abbreviation)TextWed
EEEEDay in weekTextWednesday

Hour in day (1-12)

NOTE: Requires an AM/PM indicator (a).


Hour in am/pm (01-12)

NOTE: Requires an AM/PM indicator (a).

HHour in day (1-12)Number2
HHHour in day (0-23)Number20
mMinute in an hourNumber9


Minute in an hourNumber09
sSecond in a minuteNumber3
ssSecond in a minuteNumber03
SSS MillisecondNumber218
XTime zoneISO 8601 time zone-08:00
aAM/PM indicatorStringAM

Tip: If your DateTime column contains data in multiple formats, you must change the format of the DateTime column to one format and then add a transform to convert that data to the other format. When all formats of your source date values are converted to a single format, the application should infer the appropriate date and time format.

Supported Separators:

ISO 8601 Time Zone Notes:

For more information on supported date formatting strings, see DATEFORMAT Function.