fixed the DATE validation

fixed the DATE to match changes in browsers which support html5 date