DATE - show date and time.
Syntax:
date [date-string] [option]*
Date=date-string
String=comment
-Meridiem
+Seconds
+SystemInternational
+SystemStandard
-Time
+Userid
(+|-)Verbose
-Weekday
Options:
- date-string
- is a arbitrary date to be used instead of the current
date. The date is enclosed in single or double quotes and
may take any reasonable form, e.g. "16th of Sep
1952". This option implies "-Time". If not
supplied, the current date and time are used.
- Date=date-string
- specifies a date-string in the same way that a
"date-string" argument does.
- String=comment
- specifies a comment to be appended to the output line.
- -Meridiem
- uses a 24 hour clock without showing "A.M." or
"P.M.".
- +Seconds
- displays the seconds in the "hh:mm:ss" time.
- +SystemInternational
- prints the date in "yy/mm/dd hh:mm:ss" format.
- +SystemStandard
- prints the date in Bull's "mm/dd/yy hh.hhh"
format.
- -Time
- suppresses the time display.
- +Userid
- causes the caller's userid to start the output line.
- -Verbose
- abbreviates month and weekday names to three characters.
- +Verbose
- produces a very wordy date.
- -Weekday
- tells DATE to omit the day of the week.
Description:
The DATE command provides the current date and time in various
formats. It may also be used to determine on which day of the
week a particular date fell. The standard date-time format is
given below.
Wednesday 5th August 1981 5:14 P.M.
The various options described above may be used to alter this
format.
Copyright © 1996, Thinkage Ltd.