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