summaryrefslogtreecommitdiff
path: root/bin/date
diff options
context:
space:
mode:
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/date.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 4f39ddd15db..a8c9a51c418 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.8 1997/09/17 23:23:02 bri Exp $
+.\" $OpenBSD: date.1,v 1.9 1997/10/04 09:17:33 deraadt Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -144,12 +144,12 @@ and years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
-date ``+DATE: %m/%d/%y%nTIME: %H:%M:%S''
+date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"
.Ed
.Pp
will display:
.Bd -literal -offset indent
-DATE: 11/21/87
+DATE: 1987-11-21
TIME: 13:36:16
.Ed
.Pp