U2 8306 then EC 8631 at Gatwick
Milan → London → Berlin
Timetable, London time
20:55U2 8306 from Milan at the gate
20:05EC 8631 to Berlin leaves the gate
23 h 10 apart on the timetable, overnight
EC 8631 leaves 23 h 10 after U2 8306 arrives on the timetable: more than half a day, so not a connection we count.