AZ 110 then U2 7837 at Schiphol
Rome → Amsterdam → Edinburgh
Timetable, Amsterdam time
17:05AZ 110 from Rome at the gate
13:35U2 7837 to Edinburgh leaves the gate
20 h 30 apart on the timetable, overnight
U2 7837 leaves 20 h 30 after AZ 110 arrives on the timetable: more than half a day, so not a connection we count.