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