Updating date validation for the dob.