KL 940 then U2 7837 at Schiphol
Glasgow → Amsterdam → Edinburgh
Timetable, Amsterdam time
16:00KL 940 from Glasgow at the gate
11:15U2 7837 to Edinburgh leaves the gate
19 h 15 apart on the timetable, overnight
U2 7837 leaves 19 h 15 after KL 940 arrives on the timetable: more than half a day, so not a connection we count.