AC 836 then LH 2492 at Munich
Toronto → Munich → Valletta
Timetable, Munich time
10:00AC 836 from Toronto at the gate
08:50LH 2492 to Valletta leaves the gate
22 h 50 apart on the timetable, overnight
LH 2492 leaves 22 h 50 after AC 836 arrives on the timetable: more than half a day, so not a connection we count.