date validation implemented