Scalar Operations and DateTime Functions | VantageCloud Lake - Scalar Operations and DateTime Functions - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

DateTime functions are those functions that operate on either DateTime or Interval values and provide a DateTime value as a result.

The supported DateTime functions are:
To avoid any synchronization problems, operations among any of these functions use identical definitions for DATE, TIME, or TIMESTAMP so that the following are always true:
  • CURRENT_DATE = CURRENT_DATE
  • CURRENT_TIME = CURRENT_TIME
  • CURRENT_TIMESTAMP = CURRENT_TIMESTAMP
  • CURRENT_DATE and CURRENT_TIMESTAMP always identify the same DATE
  • CURRENT_TIME and CURRENT_TIMESTAMP always identify the same TIME

The values reflect the time when the request started and do not change during the duration of the request.