slok has asked for the wisdom of the Perl Monks concerning the following question:
I am using the CGI module. In my perl script, I take in a "year" field from the form. 1. How can I check that this is a valid year? ie not greater than current year?
2006-03-21 Retitled by planetscape, as per Monastery guidelines
Original title: 'date question'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to validate the year of a date?
by gmax (Abbot) on May 09, 2002 at 06:46 UTC | |
by graff (Chancellor) on May 10, 2002 at 05:24 UTC |