16.10 - DATE/TIME - Teradata Database

Teradata Database Support Utilities

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Configuration
featnum
B035-1180-161K

Purpose

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

Syntax



Usage Notes

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

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

Examples: DATE and TIME command outputs

> date
Thu Jul 02, 2015  18:17:05

> time
Thu Jul 02, 2015  18:17:08