The following command gives mismatched output. The time returned should be
identical, according to the man/info pages. Can anyone tell me why I see a
one-hour discrepency when converting the time back and forth to an epoch
string?

[the command]
_SEC=`date +%s`; echo $_SEC; date -d "1970-01-01 UTC +$_SEC sec" --utc;
date --utc

[the output]
960753785
Sun Jun 11 21:03:05 UTC 2000
Sun Jun 11 20:03:05 UTC 2000

-- 
Todd A. Jacobs
Senior Network Consultant



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to