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