U2 7838 then VY 7903 at Schiphol
Edinburgh → Amsterdam → Alicante
Timetable, Amsterdam time
15:20U2 7838 from Edinburgh at the gate
14:35VY 7903 to Alicante leaves the gate
23 h 15 apart on the timetable, overnight
VY 7903 leaves 23 h 15 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.