U2 7838 then KL 939 at Schiphol
Edinburgh → Amsterdam → Glasgow
Timetable, Amsterdam time
17:20U2 7838 from Edinburgh at the gate
12:15KL 939 to Glasgow leaves the gate
18 h 55 apart on the timetable, overnight
KL 939 leaves 18 h 55 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.