UA 6105 then UA 764 at O'Hare
Lewisburg → Chicago → Calgary
Timetable, Chicago time
12:45UA 6105 from Lewisburg at the gate
08:40UA 764 to Calgary leaves the gate
19 h 55 apart on the timetable, overnight
UA 764 leaves 19 h 55 after UA 6105 arrives on the timetable: more than half a day, so not a connection we count.