U2 7890 then KL 1223 at Schiphol
Málaga → Amsterdam → Stockholm
Timetable, Amsterdam time
15:00U2 7890 from Málaga at the gate
14:40KL 1223 to Stockholm leaves the gate
23 h 40 apart on the timetable, overnight
KL 1223 leaves 23 h 40 after U2 7890 arrives on the timetable: more than half a day, so not a connection we count.