Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Dateby redcloud (Parson) |
on Mar 12, 2001 at 04:26 UTC ( [id://63700]=note: print w/replies, xml ) | Need Help?? |
Yes, if you want to remove the leading zero, you can change the
%02d in the sprintf command to %d. You
probably need to look at whether you'll have to do this for
the day, too. (And the %04d for the year was just
overkill on my part, unless you've got files over
1001 years old. 8^P )
In Section
Seekers of Perl Wisdom
|
|