Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Localtime() or gmtime()by swiftone (Curate) |
on Oct 14, 2002 at 21:18 UTC ( [id://205226]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|