KL 940 then U2 7899 at Schiphol
Glasgow → Amsterdam → Valencia
Timetable, Amsterdam time
16:00KL 940 from Glasgow at the gate
12:00U2 7899 to Valencia leaves the gate
20 h apart on the timetable, overnight
U2 7899 leaves 20 h after KL 940 arrives on the timetable: more than half a day, so not a connection we count.