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