|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Numeric Date Validationby dbwiz (Curate) |
| on Sep 30, 2003 at 13:09 UTC ( [id://295352]=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.
Date::Manip can do quite a lot, but not everything. Check this test script.
Your 11031997 is not recognized as it is, but it is parsed correctly if you add dots. Check the documentation to see which formats are recognized. You see from the example that it is quite flexible. Be aware, though, that Date::Manip is very slow compared to direct regexp manipulation. Check the docs for this issue as well. HTH
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||