updated isDate validato'