aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/date/date.15
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 7323a73099d1..ed36fddb0d6e 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -319,6 +319,11 @@ date 8506131627
.Pp
sets the date to
.Dq Li "June 13, 1985, 4:27 PM" .
+.Bd -literal -offset indent
+date "+%Y%m%d%H%M.%S"
+.Ed
+.Pp
+may be used on one machine to print out the date suitable for setting on another.
.Pp
The command:
.Bd -literal -offset indent