U2 7820 then KL 931 at Schiphol
Milan → Amsterdam → Edinburgh
Timetable, Amsterdam time
22:00U2 7820 from Milan at the gate
15:40KL 931 to Edinburgh leaves the gate
17 h 40 apart on the timetable, overnight
KL 931 leaves 17 h 40 after U2 7820 arrives on the timetable: more than half a day, so not a connection we count.