aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-02-18 23:12:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-02-18 23:12:55 +0000
commite0d2c361868afe2b37d6eb40defaecf09e8d3288 (patch)
tree49fb810d1a85ccd4c1b821cc8d11c73b1fb4ff4e /bin
parent7d0cb938869b5522a581cf1a10ec1eff73b5188e (diff)
downloadsrc-e0d2c361868afe2b37d6eb40defaecf09e8d3288.tar.gz
src-e0d2c361868afe2b37d6eb40defaecf09e8d3288.zip
Add an example to help one manually set the date on one machine taking the out
put from another.
Notes
Notes: svn path=/head/; revision=111104
Diffstat (limited to 'bin')
-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