in reply to Time zones
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Time zones
by Anonymous Monk on Sep 27, 2004 at 19:31 UTC | |
by ikegami (Patriarch) on Sep 27, 2004 at 19:35 UTC | |
by Duco (Sexton) on Sep 27, 2004 at 23:48 UTC | |
by Anonymous Monk on Sep 27, 2004 at 19:44 UTC | |
by sgifford (Prior) on Sep 27, 2004 at 20:18 UTC | |
by Anonymous Monk on Sep 27, 2004 at 20:25 UTC | |
| |
by ikegami (Patriarch) on Sep 27, 2004 at 20:00 UTC | |
by Anonymous Monk on Sep 27, 2004 at 20:16 UTC | |
by ikegami (Patriarch) on Sep 27, 2004 at 20:30 UTC | |
|