U2 7838 then AZ 121 at Schiphol
Edinburgh → Amsterdam → Milan Linate
Timetable, Amsterdam time
15:20U2 7838 from Edinburgh at the gate
11:50AZ 121 to Milan Linate leaves the gate
20 h 30 apart on the timetable, overnight
AZ 121 leaves 20 h 30 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.