U2 8734 then EC 8309 at Gatwick
Budapest → London → Milan
Timetable, London time
15:25U2 8734 from Budapest at the gate
15:10EC 8309 to Milan leaves the gate
23 h 45 apart on the timetable, overnight
EC 8309 leaves 23 h 45 after U2 8734 arrives on the timetable: more than half a day, so not a connection we count.