U2 8638 then U2 809 at Gatwick
Munich → London → Edinburgh
Timetable, London time
16:55U2 8638 from Munich at the gate
11:20U2 809 to Edinburgh leaves the gate
18 h 25 apart on the timetable, overnight
U2 809 leaves 18 h 25 after U2 8638 arrives on the timetable: more than half a day, so not a connection we count.