Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: %ENV{TZ} does not always affect CORE::localtime() under multi-threaded perl

by Chmrr (Vicar)
on Apr 16, 2003 at 22:35 UTC ( [id://251074]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use POSIX; $\ = "\n";
    $ENV{TZ} = "EST";
    POSIX::tzset();
    ...
    $ENV{TZ} = "DST";
    POSIX::tzset();
    print scalar localtime();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251074]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found