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