UA 3501 then UA 5822 at O'Hare
Kansas City → Chicago → Milwaukee
Timetable, Chicago time
17:05UA 3501 from Kansas City at the gate
07:30UA 5822 to Milwaukee leaves the gate
14 h 25 apart on the timetable, overnight
UA 5822 leaves 14 h 25 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.