U2 8304 then U2 8733 at Gatwick
Milan → London → Budapest
Timetable, London time
12:50U2 8304 from Milan at the gate
09:25U2 8733 to Budapest leaves the gate
20 h 35 apart on the timetable, overnight
U2 8733 leaves 20 h 35 after U2 8304 arrives on the timetable: more than half a day, so not a connection we count.