XP is just a number | |
PerlMonks |
Re: Difficult on use timeby Marshall (Canon) |
on Apr 08, 2012 at 04:48 UTC ( [id://963968]=note: print w/replies, xml ) | Need Help?? |
My advice is to log everything in GMT (UTC) and use GMT for all of your calculations. Standardize upon that. Use one of the Date/Time modules to convert to local time for presentation.
if I hard code the conversion, I lost the portability if the system moves to other time zone.
In Section
Seekers of Perl Wisdom
|
|