HV 5134 then KL 945 at Schiphol
Barcelona → Amsterdam → Glasgow
Timetable, Amsterdam time
23:20HV 5134 from Barcelona at the gate
21:40KL 945 to Glasgow leaves the gate
22 h 20 apart on the timetable, overnight
KL 945 leaves 22 h 20 after HV 5134 arrives on the timetable: more than half a day, so not a connection we count.