`date’: Print or set system date and time
=========================================
`date’ with no arguments prints the current time and date, in the
format of the `%c’ directive (described below). Synopses:
date [OPTION]… [+FORMAT]
date [-u|--utc|--universal] [ MMDDhhmm[[CC]YY][.ss] ]
If given an argument that starts with a `+’, `date’ prints the
current time and date (or the time and date specified by the `–date’
option, see below) in the format defined by that argument, which is the
same as in the `strftime’ function. Except for directives, which start
with `%’, characters in the format string are printed unchanged. The
directives are described below.
* Menu:
* Time directives:: %[HIklMprsSTXzZ]
* Date directives:: %[aAbBcdDhjmUwWxyY]
* Literal directives:: %[%nt]
* Padding:: Pad with zeroes, spaces (%_), or nothing (%-).
* Setting the time:: Changing the system clock.
* Options for date:: Instead of the current time.
* Examples of date:: Examples.
********* From the Man Pages *****************************
DESCRIPTION
Display the current time in the given FORMAT, or set the system date.
-d, –date=STRING
display time described by STRING, not `now’
-f, –file=DATEFILE
like –date once for each line of DATEFILE
-I, –iso-8601[=TIMESPEC] output an ISO-8601 compliant date/time string.
TIMESPEC=`date’ (or missing) for date only, `hours’, `minutes’, or `seconds’ for date and time to the indi-
cated precision.
-r, –reference=FILE
display the last modification time of FILE
-R, –rfc-822
output RFC-822 compliant date string
-s, –set=STRING
set time described by STRING
-u, –utc, –universal
print or set Coordinated Universal Time
–help display this help and exit
–version
output version information and exit
Continua”The date command”