U2 8732 then U2 8013 at Gatwick
Budapest → London → Valencia
Timetable, London time
18:15U2 8732 from Budapest at the gate
17:20U2 8013 to Valencia leaves the gate
23 h 05 apart on the timetable, overnight
U2 8013 leaves 23 h 05 after U2 8732 arrives on the timetable: more than half a day, so not a connection we count.