UA 3762 then AA 2626 at O'Hare
Manhattan → Chicago → Denver
Timetable, Chicago time
22:41UA 3762 from Manhattan at the gate
22:35AA 2626 to Denver leaves the gate
23 h 54 apart on the timetable, overnight
AA 2626 leaves 23 h 54 after UA 3762 arrives on the timetable: more than half a day, so not a connection we count.