Validation for calenders to selete dates