not y10k compliant I'm afraid ;-)
Not Julian-compliant either!
You need to change
return 1 if $year < 1753to
return 1 if $year < 1753 and not $year %4;</nitpick>
Update: Memo to /me: Test before you post! (See below.)
In reply to Re^2: Simple Date Validation
by Not_a_Number
in thread Simple Date Validation
by Trihedralguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |