U2 806 then VY 7625 at Gatwick
Edinburgh → London → Barcelona
Timetable, London time
07:45U2 806 from Edinburgh at the gate
20:45VY 7625 to Barcelona leaves the gate
13 h apart on the timetable
VY 7625 leaves 13 h after U2 806 arrives on the timetable: more than half a day, so not a connection we count.