Subject: TZ and unix epoc
To: None <tech-kern@NetBSD.org>
From: George Georgalis <george@galis.org>
List: tech-kern
Date: 02/26/2006 12:30:09
I expected this command to return unix seconds of
Thu Jan  1 00:00:00 GMT-2 1970; but it returns 0.

 env TZ='Etc/GMT-2' date -r 0 +%s

question 1, is this a bug?
question 2, how do I get the desired unix seconds?

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org