VY 7612 then U2 8733 at Gatwick
Barcelona → London → Budapest
Timetable, London time
14:45VY 7612 from Barcelona at the gate
09:25U2 8733 to Budapest leaves the gate
18 h 40 apart on the timetable, overnight
U2 8733 leaves 18 h 40 after VY 7612 arrives on the timetable: more than half a day, so not a connection we count.