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