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