Time in New York? Tokyo?
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
Look up the timezone in ftp://ftp.iana.org/tz/data/zone.tab
For example, New York is ‘America/New_York’ and Tokyo is ‘Asia/Tokyo’.
$ TZ='America/New_York' date
Tue 6 Aug 05:59:32 EDT 2013
$ TZ='Asia/Tokyo' date
Tue 6 Aug 18:59:42 JST 2013