Perl: the Markov chain saw | |
PerlMonks |
Re^3: DateTime and hour 0by Mr. Muskrat (Canon) |
on Apr 19, 2005 at 11:28 UTC ( [id://449194]=note: print w/replies, xml ) | Need Help?? |
Zero-padding is best done with printf or sprintf. I don't know where num_to_month is coming from (something you wrote?) but why not just use $datetime->month_name?
In Section
Seekers of Perl Wisdom
|
|