FORMAT Phrase and DateTime Formats | VantageCloud Lake - FORMAT Phrase and DateTime Formats - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

The date and time formatting characters in a FORMAT phrase determine the output of DATE, TIME, and TIMESTAMP information.

Data Type Use Formatting Characters
  • DATE
  • PERIOD(DATE)
For date information.

For Period types, the specified format is associated with both the beginning and ending bounds of the period.

  • TIME
  • TIME WITH TIME ZONE
  • PERIOD(TIME)
For time information.

For Period types, the specified format is associated with both the beginning and ending bounds of the period.

  • TIMESTAMP
  • TIMESTAMP WITH TIME ZONE
  • PERIOD(TIMESTAMP)
For date and time information.

Date formatting characters must be grouped separately from time formatting characters.

For Period types, the specified format is associated with both the beginning and ending bounds of the period.

Formatting characters are case-insensitive.