GNU Info

Info Node: ( invocation

( invocation

Next: uname invocation Up: System context
Enter node , (file) or (file)node

`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.

Time directives
Date directives
Literal directives
Pad with zeroes, spaces (%_), or nothing (%-).
Setting the time
Changing the system clock.
Options for date
Instead of the current time.
Examples of date

automatically generated by info2www version