|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^3: Formats for date.by BaldPenguin (Friar) |
| on Jun 28, 2005 at 19:21 UTC ( [id://470874]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Actually, what I was implying was that if the localtime was read and then a value such as month were to be incremented, then sprintf() would print out a bad date( i.e. 13/30/2005). You are correct in that passing localtime straight to strftime would not require validation, if any were to exist. Thanks. True validation could be accomplished using Date::Calc or DateTime or similar to increment the date values. Don WHITEPAGES.COM | INC Edit by castaway: Closed small tag in signature
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||