U2 3301 then GA 9015 at Schiphol
Edinburgh → Amsterdam → Madrid
Timetable, Amsterdam time
21:05U2 3301 from Edinburgh at the gate
13:35GA 9015 to Madrid leaves the gate
16 h 30 apart on the timetable, overnight
GA 9015 leaves 16 h 30 after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.