Format a date

Details about format used for the date functions

The following table defines the token substrings you can use in a date-time format pattern for the functions DATEPARSE(str, format) and DATEFORMAT(date, format).

You can define the format field by combining the tokens shown below.

Usual format token

Examples below given for 2014-08-06T13:07:04.054 considered as a local time in America/New_York

Advanced format token

Examples below given for 2014-08-06T13:07:04.054 considered as a local time in America/New_York

Last updated