VY 7600 then U2 863 at Gatwick
Barcelona → London → Glasgow
Timetable, London time
07:50VY 7600 from Barcelona at the gate
07:05U2 863 to Glasgow leaves the gate
23 h 15 apart on the timetable, overnight
U2 863 leaves 23 h 15 after VY 7600 arrives on the timetable: more than half a day, so not a connection we count.