UA 662 then AC 1914 at Toronto Pearson
Chicago O'Hare → Toronto → Ottawa
Timetable, Toronto time
23:59UA 662 from Chicago O'Hare at the gate
16:10AC 1914 to Ottawa leaves the gate
16 h 11 apart on the timetable, overnight
AC 1914 leaves 16 h 11 after UA 662 arrives on the timetable: more than half a day, so not a connection we count.