U2 7840 then VY 7901 at Schiphol
London Stansted → Amsterdam → Málaga
Timetable, Amsterdam time
21:55U2 7840 from London Stansted at the gate
19:45VY 7901 to Málaga leaves the gate
21 h 50 apart on the timetable, overnight
VY 7901 leaves 21 h 50 after U2 7840 arrives on the timetable: more than half a day, so not a connection we count.