Examples: Timestamp Formats - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

The following table is a nonexhaustive list of formats that can be used to present an output timestamp, where the data is 85/09/12 13:20:53.64+03:00:

FORMAT Phrase Result
FORMAT 'MM/DD/YYBHH:MIBT' 09/12/85 01:20 PM
FORMAT 'MMMBDD,BYYBHH:MI:SS' Sep 12, 85 13:20:53
FORMAT 'E3,BM4BDD,BY4BHH:MI:SSDS(F)' Thu, September 12, 1985 13:20:53.64
FORMAT 'YYYY-MM-DDBHH:MI:SSDS(F)Z' 1985-09-12 13:20:53.64+03:00