AM 25 then U2 7835 at Schiphol
Mexico City → Amsterdam → Edinburgh
Timetable, Amsterdam time
15:15AM 25 from Mexico City at the gate
08:15U2 7835 to Edinburgh leaves the gate
17 h apart on the timetable, overnight
U2 7835 leaves 17 h after AM 25 arrives on the timetable: more than half a day, so not a connection we count.