Doesn't seem to work for me using ActivePerl v5.8.7 build 813 under Windows Server 2003. I do get the local time no matter whether I set $ENV{TZ} to EST or CET (my timezone). Tried even localtime_in( "0500" );
Update: The DateTime solution works though. So if you need to make portable code, use DateTime;
In reply to Re^3: Finding a remote time
by Jenda
in thread Finding a remote time
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |