DATE/TIME - Analytics Database - Teradata Vantage

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantageā„¢

The DATE and TIME commands are synonyms. Both show the same display of current system day, date, and time.

Syntax

{ DATE | TIME }

Usage Notes

The DATE or TIME command shows a timestamp in the following format:

DDD mmm dd, yyyy HH:MM:SS
Format Description
DDD Abbreviated name of the day of the week.
mmm dd, yyyy Abbreviated name of the calendar month, numeric day, and four-digit year.
HH:MM:SS Current system time in hour, minutes, and seconds.

Examples: DATE and TIME command outputs

> date

Result:

date

Thu Jul 02, 2016  18:17:05
> time

Result:

time

Thu Jul 02, 2016  18:22:14