U2 7890 then DY 2039 at Schiphol
Málaga → Amsterdam → Stockholm
Timetable, Amsterdam time
22:00U2 7890 from Málaga at the gate
18:30DY 2039 to Stockholm leaves the gate
20 h 30 apart on the timetable, overnight
DY 2039 leaves 20 h 30 after U2 7890 arrives on the timetable: more than half a day, so not a connection we count.