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