- or download this
$ENV{'TZ'} = '-0400'; # also tried 'US/Eastern' with same result.
...
exit if $ENV{'COUNT'} > 3;
system("C:\\perl\\bin\\perl.exe C:\\cgi\\test");
- or download this
C:\FootPrints1\cgi>C:\perl\bin\perl.exe C:\cgi\test
---- ----
...
---- 3 ----
TZ: -0400
localtime: Thu Sep 6 14:46:07 2007
- or download this
use POSIX();
POSIX::tzset();