KL 1020 then U2 7837 at Schiphol
Leeds → Amsterdam → Edinburgh
Timetable, Amsterdam time
12:25KL 1020 from Leeds at the gate
11:40U2 7837 to Edinburgh leaves the gate
23 h 15 apart on the timetable, overnight
U2 7837 leaves 23 h 15 after KL 1020 arrives on the timetable: more than half a day, so not a connection we count.