UA 3501 then AA 1366 at O'Hare
Kansas City → Chicago → Denver
Timetable, Chicago time
17:05UA 3501 from Kansas City at the gate
11:54AA 1366 to Denver leaves the gate
18 h 49 apart on the timetable, overnight
AA 1366 leaves 18 h 49 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.