Changing dateStart and dateEnd