AA 1366 then UA 3376 at O'Hare
Denver → Chicago → St Louis
Timetable, Chicago time
18:10AA 1366 from Denver at the gate
11:00UA 3376 to St Louis leaves the gate
16 h 50 apart on the timetable, overnight
UA 3376 leaves 16 h 50 after AA 1366 arrives on the timetable: more than half a day, so not a connection we count.