Perl: the Markov chain saw | |
PerlMonks |
Re: Simple Date Validationby chrism01 (Friar) |
on May 13, 2007 at 23:03 UTC ( [id://615202]=note: print w/replies, xml ) | Need Help?? |
This depends on whether the original date input method is via a (eg Web) GUI, but if it is, it's much easier/safer to just offer drop down lists for date components (using names for mths). This sidesteps the problem and avoids the American vs European issue of MM-DD vs DD-MM. You can even have mth names lists in the various langs you expect.
In Section
Seekers of Perl Wisdom
|
|