Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Standard way to convert timezone in multithreaded script

by BrowserUk (Patriarch)
on Nov 25, 2009 at 08:41 UTC ( [id://809293]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ENV{TZ}="Europe/Paris";
    my $t=localtime();
    ...
    $ENV{TZ}="Europe/Moscow";
    $t=localtime();
    print "main (Europe/Moscow): ",$t,"\n";
    
  2. or download this
    main (Europe/Paris): Tue Nov 24 23:27:28 2009
    main (Europe/Moscow): Wed Nov 25 01:27:28 2009
    

Log In?
Username:
Password:

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

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

    No recent polls found