U2 7836 then U2 2518 at Schiphol
Edinburgh → Amsterdam → London Luton
Timetable, Amsterdam time
22:20U2 7836 from Edinburgh at the gate
15:35U2 2518 to London Luton leaves the gate
17 h 15 apart on the timetable, overnight
U2 2518 leaves 17 h 15 after U2 7836 arrives on the timetable: more than half a day, so not a connection we count.