U2 8688 then U2 815 at Gatwick
Amsterdam → London → Edinburgh
Timetable, London time
20:50U2 8688 from Amsterdam at the gate
18:35U2 815 to Edinburgh leaves the gate
21 h 45 apart on the timetable, overnight
U2 815 leaves 21 h 45 after U2 8688 arrives on the timetable: more than half a day, so not a connection we count.