EC 8064 then BA 1480 at Gatwick
Barcelona → London → Glasgow
Timetable, London time
15:00EC 8064 from Barcelona at the gate
10:20BA 1480 to Glasgow leaves the gate
19 h 20 apart on the timetable, overnight
BA 1480 leaves 19 h 20 after EC 8064 arrives on the timetable: more than half a day, so not a connection we count.