RECENT POSTS

P5-cgi-untaint-date

May 26, 2018

Validate a date

This Input Handler verifies that it is dealing with a reasonable date. Reasonably means anything that DateManip thinks is sensible, so you could use any of for example “December 12, 2001” “12th December, 2001” “2001-12-12” “next Tuesday” “third Wednesday in March”

See DateManip for much more information on what date formats are acceptable.

The resulting date will be a DateSimple object. DateSimple for more information on this.

WWW http//search.cpan.org/dist/CGI-Untaint-date/