U2 7838 then AZ 107 at Schiphol
Edinburgh → Amsterdam → Rome
Timetable, Amsterdam time
15:20U2 7838 from Edinburgh at the gate
12:05AZ 107 to Rome leaves the gate
20 h 45 apart on the timetable, overnight
AZ 107 leaves 20 h 45 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.