Is ther a function to check the validity of a date entered on a form and print an error message if it is not valid, e.g 2/30/04?