bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

date Info page should mention %s -> human for non GMT too


From: Dan Jacobson
Subject: date Info page should mention %s -> human for non GMT too
Date: 25 Feb 2001 01:20:21 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

In the date Info manual, it says,
 
     To convert such an unwieldy number of seconds back to a more
     readable form, use a command like this:

          date -d '1970-01-01 946684800 sec' +"%Y-%m-%d %T %z"
          2000-01-01 00:00:00 +0000

$ date -R
Sun, 25 Feb 2001 01:14:58 +0800
$ date +%s
983034903
$ date -Rd '1970-01-01 983034903 sec'
Sat, 24 Feb 2001 17:15:03 +0800
$ date -Rd '1970-01-01 08:00 983034903 sec'
Sun, 25 Feb 2001 01:15:03 +0800

Therefore the page should mention what tricks [08:00] one needs to deal
with non London time zones.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]