Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Localtime() or gmtime()

by swiftone (Curate)
on Oct 14, 2002 at 21:18 UTC ( #205226=note: print w/ replies, xml ) Need Help??


in reply to Localtime() or gmtime()

Some quick experimentation on my system (Debian Linux) shows that changing $ENV{TZ} changes the results of localtime. I found some documentation at http://www.aota.net/Script_Installation_Tips/perltime.php4, and Googling for "perl $ENV{TZ}" will get you quite a bit of info.

Hope that helps.


Comment on Re: Localtime() or gmtime()

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-07-07 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls