WN 3525 then UA 1230 at Denver
Chicago Midway → Denver → Great Falls
Timetable, Denver time
20:20WN 3525 from Chicago Midway at the gate
19:30UA 1230 to Great Falls leaves the gate
23 h 10 apart on the timetable, overnight
UA 1230 leaves 23 h 10 after WN 3525 arrives on the timetable: more than half a day, so not a connection we count.