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:SSFormat | 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
> dateResult:
date Thu Jul 02, 2016 18:17:05> time
Result:
time Thu Jul 02, 2016 18:22:14