date validation changes