You can use the TZ Environment Variable to do this ... (detailed at the bottom of the linked page)
$ perl -e '$ENV{TZ}="EST5EDT"; print scalar(localtime),"\n";' Mon Sep 27 15:13:13 2004 $ perl -e '$ENV{TZ}="GMT"; print scalar(localtime),"\n";' Mon Sep 27 19:13:22 2004
In reply to Re: Time zones
by idsfa
in thread Time zones
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |