Prevent selecting a start date later than the end date, or an end date sooner than the start date