EC 8050 then U2 8637 at Gatwick
Milan → London → Munich
Timetable, London time
08:05EC 8050 from Milan at the gate
06:15U2 8637 to Munich leaves the gate
22 h 10 apart on the timetable, overnight
U2 8637 leaves 22 h 10 after EC 8050 arrives on the timetable: more than half a day, so not a connection we count.