|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Simple Date Validationby johngg (Abbot) |
| on May 11, 2007 at 15:44 UTC ( #614940=note: print w/ replies, xml ) | Need Help?? |
|
I have the following which I converted from C a long time ago when I was very new to Perl. It was set up for the UK so the Julian/Gregorian change is in 1752.
It works for any year from 1 to 9999 (not y10k compliant I'm afraid ;-) I hope this is of use. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||