AC 836 then 4Y 212 at Munich
Toronto → Munich → Marrakesh
Timetable, Munich time
10:00AC 836 from Toronto at the gate
08:304Y 212 to Marrakesh leaves the gate
22 h 30 apart on the timetable, overnight
4Y 212 leaves 22 h 30 after AC 836 arrives on the timetable: more than half a day, so not a connection we count.