diff options
Diffstat (limited to 'bin/date/date.1')
-rw-r--r-- | bin/date/date.1 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1 index e6b96016caf..09be59bf0a9 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: date.1,v 1.54 2010/09/19 20:55:25 jmc Exp $ +.\" $OpenBSD: date.1,v 1.55 2011/03/11 18:22:49 deraadt Exp $ .\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: September 19 2010 $ +.Dd $Mdocdate: March 11 2011 $ .Dt DATE 1 .Os .Sh NAME @@ -45,6 +45,7 @@ .Op Fl d Ar dst .Op Fl r Ar seconds .Op Fl t Ar minutes_west +.Op Fl z Ar output_zone .Op Cm + Ns Ar format .Sm off .Oo Oo Oo Oo Oo Oo @@ -112,6 +113,14 @@ by future calls to .Xr gettimeofday 2 . .It Fl u Display or set the date in UTC (Coordinated Universal) time. +.It Fl z Ar output_zone +Just before printing the time, change to the specified timezone; +see the description of +.Ev TZ +below. +This can be used with +.Fl j +to easily convert time specifications from one zone to another. .El .Pp An operand with a leading plus sign @@ -159,7 +168,7 @@ and leap years are handled automatically. .Sh ENVIRONMENT .Bl -tag -width Ds .It Ev TZ -The time zone to use when displaying dates. +The time zone to use when parsing or displaying dates. See .Xr environ 7 for more information. |