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