use check date in the date validator.