AC 118 then AC 836 at Toronto Pearson
Vancouver → Toronto → Munich
Timetable, Toronto time
23:59AC 118 from Vancouver at the gate
19:50AC 836 to Munich leaves the gate
19 h 51 apart on the timetable, overnight
AC 836 leaves 19 h 51 after AC 118 arrives on the timetable: more than half a day, so not a connection we count.