UA 3902 then UA 764 at O'Hare
Rio De Janeiro → Chicago → Calgary
Timetable, Chicago time
17:01UA 3902 from Rio De Janeiro at the gate
08:40UA 764 to Calgary leaves the gate
15 h 39 apart on the timetable, overnight
UA 764 leaves 15 h 39 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.