![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: How to convert time from one time zone to anotherby robin (Chaplain) |
on Dec 19, 2005 at 19:28 UTC ( #517872=note: print w/replies, xml ) | Need Help?? |
You can just set the TZ environment variable to the timezone you want, and use localtime:
The last time I ran it, this printed I think this will work on Windows as well as Unix, but I don't have a Windows box to test it on.
In Section
Seekers of Perl Wisdom
|
|