U2 8306 then VY 7621 at Gatwick
Milan → London → Barcelona
Timetable, London time
20:55U2 8306 from Milan at the gate
19:35VY 7621 to Barcelona leaves the gate
22 h 40 apart on the timetable, overnight
VY 7621 leaves 22 h 40 after U2 8306 arrives on the timetable: more than half a day, so not a connection we count.