diff options
-rw-r--r-- | doc/sh-utils.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi index 1f5192882..8481dcd0e 100644 --- a/doc/sh-utils.texi +++ b/doc/sh-utils.texi @@ -2198,8 +2198,7 @@ information. @cindex time, printing or setting @cindex printing the current time -@code{date} with no arguments prints the current time and date, in the -format of the @samp{%c} directive (described below). Synopses: +Synopses: @example date [@var{option}]@dots{} [+@var{format}] @@ -2207,6 +2206,9 @@ date [-u|--utc|--universal] @c this avoids a newline in the output [ MMDDhhmm[[CC]YY][.ss] ] @end example +Invoking @code{date} with no arguments is equivalent to invoking +@samp{date '+%a %b %e %H:%M:%S %Z %Y'}. + @findex strftime @r{and @code{date}} @cindex time formats @cindex formatting times |