in reply to Re^2: Finding a remote time
in thread Finding a remote time

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;

Replies are listed 'Best First'.
Re^4: Finding a remote time
by Fletch (Bishop) on Jul 17, 2006 at 16:18 UTC

    You've got your explanation right in your post. Wintendo POSIX support is notoriously flakey to non-existent. I'd bet the DateTime solutions would still work.