HV 6332 then KL 1507 at Schiphol
Valencia → Amsterdam → Madrid
Timetable, Amsterdam time
23:30HV 6332 from Valencia at the gate
17:00KL 1507 to Madrid leaves the gate
17 h 30 apart on the timetable, overnight
KL 1507 leaves 17 h 30 after HV 6332 arrives on the timetable: more than half a day, so not a connection we count.