date validation task