Date Formats - Analytics Database - Teradata Vantage

SQL Date and Time Functions and Expressions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
cpk1628111786971.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
pxz1544241488545
lifecycle
latest
Product Category
Teradata Vantage™
Element Description
CC

SCC

One year greater than the first two digits of a 4-digit year.
  • SYYY
  • YYYY
  • YEAR
  • SYEAR
  • YYY
  • YY
  • Y
Year. Returns a value of 1, the first day of the year.
IYYY

IYY

IY

I

ISO year
MONTH

MON

MM

RM

Month. Returns a value of 1, the first day of the month.
Q Quarter. Returns a value of 1, the first day of the quarter.
WW Same day of the week as the 1st day of the year.
IW Same day of the week as the first day of the ISO year.
W Same day of the week as the first day of the month.
DDD

DD

J

Day.
DAY

DY

D

Starting day of the week.
HH

HH12

HH24

Hour.
MI Minute.