AC 2331 then AC 7298 at Toronto Pearson
Ottawa → Toronto → Amsterdam
Timetable, Toronto time
19:32AC 2331 from Ottawa at the gate
19:30AC 7298 to Amsterdam leaves the gate
23 h 58 apart on the timetable, overnight
AC 7298 leaves 23 h 58 after AC 2331 arrives on the timetable: more than half a day, so not a connection we count.