Date Validation
checkdate() a function that checks if such a date exists. Use it, for example, to validate a date entered by the user. If this date exists, the message “Date is OK!” Will appear, and in case of an error, as shown below, “Date entered incorrectly”.
11,32,2009
Date entered incorrectly
12,05,2016
Date is OK!
Date entered incorrectly
12,05,2016
Date is OK!