UA 5192 then UA 646 at O'Hare
Bismarck → Chicago → Denver
Timetable, Chicago time
15:00UA 5192 from Bismarck at the gate
13:30UA 646 to Denver leaves the gate
22 h 30 apart on the timetable, overnight
UA 646 leaves 22 h 30 after UA 5192 arrives on the timetable: more than half a day, so not a connection we count.