AC 740 then AC 1914 at Toronto Pearson
San Francisco → Toronto → Ottawa
Timetable, Toronto time
19:55AC 740 from San Francisco at the gate
16:10AC 1914 to Ottawa leaves the gate
20 h 15 apart on the timetable, overnight
AC 1914 leaves 20 h 15 after AC 740 arrives on the timetable: more than half a day, so not a connection we count.