Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to convert time from one time zone to another

by robin (Chaplain)
on Dec 19, 2005 at 19:28 UTC ( #517872=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
        local $ENV{TZ} = "EST+05";
    ...
        local $ENV{TZ} = "IST-05:30";
        print "In Mumbai, it is ".localtime()."\n"
    }
    
  2. or download this
    In New York, it is Mon Dec 19 14:25:01 2005
    In Mumbai, it is Tue Dec 20 00:55:01 2005
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-10-05 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (20 votes). Check out past polls.

    Notices?