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