16.10 - DATE/TIME - Teradata Database

Teradata Database Utilities

Product
Teradata Database
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
zll1480972831047.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
vkz1472241255652

Purpose

The DATE and TIME commands are synonyms. Both show the same display of current system day, 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 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