KL 571 then U2 7899 at Schiphol
Dar es Salaam → Amsterdam → Valencia
Timetable, Amsterdam time
07:40KL 571 from Dar es Salaam at the gate
07:00U2 7899 to Valencia leaves the gate
23 h 20 apart on the timetable, overnight
U2 7899 leaves 23 h 20 after KL 571 arrives on the timetable: more than half a day, so not a connection we count.