17.10 - DATE/TIME - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Configuration
Publication ID
B035-1102-171K
Language
English (United States)

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
date

Thu Jul 02, 2016  18:17:05

> time
time

Thu Jul 02, 2016  18:22:14