in reply to Re^6: Time zones
in thread Time zones
Yup, it did for me too. Guess you'll have to try one of the other ideas posted here. :)
FWIW, it does work if you set TZ before starting Perl:
$ TZ='GMT' perl -e 'print localtime()."\n"'; Mon Sep 27 21:11:30 2004 $ TZ='EST5EDT' perl -e 'print localtime()."\n"'; Mon Sep 27 17:11:38 2004 $ TZ='MST' perl -e 'print localtime()."\n"'; Mon Sep 27 14:11:50 2004
|
|---|