in reply to Mod_Perl multiple timezones
The only thing I can think of off hand is the persistance of the mod_perl. I tried this in perl 5.6.0 and it works fine. Is this similar to what you tried in 5.8? ie set TZ print localtime and set TZ and print localtime again in the same script with a different timezone.
$ENV{TZ}='CST6CDT'; print scalar(localtime), "\n"; $ENV{TZ}='MST7MDT'; print scalar(localtime), "\n"; __END__ #output Wed Jul 23 12:52:59 2003 Wed Jul 23 11:52:59 2003
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mod_Perl multiple timezones
by dtr (Scribe) on Jul 23, 2003 at 19:14 UTC | |
by Chmrr (Vicar) on Jul 23, 2003 at 23:18 UTC | |
by dtr (Scribe) on Jul 24, 2003 at 10:00 UTC | |
by Anonymous Monk on Aug 05, 2003 at 02:21 UTC | |
|
Re: Mod_Perl multiple timezones
by waldo22 (Novice) on Mar 08, 2011 at 15:36 UTC | |
by jswalker (Initiate) on May 14, 2012 at 16:18 UTC |