KL 686 then U2 7835 at Schiphol
Mexico City → Amsterdam → Edinburgh
Timetable, Amsterdam time
15:10KL 686 from Mexico City at the gate
07:55U2 7835 to Edinburgh leaves the gate
16 h 45 apart on the timetable, overnight
U2 7835 leaves 16 h 45 after KL 686 arrives on the timetable: more than half a day, so not a connection we count.