Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How to write this code correctly ??? Please helpby Flexx (Pilgrim) |
on Oct 07, 2002 at 21:12 UTC ( [id://203498]=note: print w/replies, xml ) | Need Help?? |
Apart from what was said, you might want to use strftime() from the POSIX module, or CPAN's Date::Format to do your date/time conversions conveniently. Update: Of course, there's also Date::Manip (pure Perl) which also has a very intelligent input parser, and Date::Calc (XS/C library), which is faster. So long,
In Section
Seekers of Perl Wisdom
|
|