No such thing as a small change | |
PerlMonks |
(dkubb) Re: (2) formatting integers for printingby dkubb (Deacon) |
on May 14, 2001 at 09:00 UTC ( [id://80145]=note: print w/replies, xml ) | Need Help?? |
++tilly on the ISO date advocacy post. I'm not a big fan of using sprintf or other home-grown methods for formatting date strings. IMHO, it's much cleaner to use CPAN's Date::Format module. You get clearer code, and more consistent results:
This will return the date in ISO format: YYYY-MM-DD
In Section
Seekers of Perl Wisdom
|
|