⭐ in reply to How do I validate a date?
use POSIX; $validdate = (gmtime mktime 0,0,0,$day,$mon-1,$year-1900)[4] == $mon-1 +; [download]