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