WN 3525 then UA 1843 at Denver
Chicago Midway → Denver → Chicago O'Hare
Timetable, Denver time
20:20WN 3525 from Chicago Midway at the gate
17:58UA 1843 to Chicago O'Hare leaves the gate
21 h 38 apart on the timetable, overnight
UA 1843 leaves 21 h 38 after WN 3525 arrives on the timetable: more than half a day, so not a connection we count.