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