U2 8306 then U2 813 at Gatwick
Milan → London → Edinburgh
Timetable, London time
20:55U2 8306 from Milan at the gate
17:40U2 813 to Edinburgh leaves the gate
20 h 45 apart on the timetable, overnight
U2 813 leaves 20 h 45 after U2 8306 arrives on the timetable: more than half a day, so not a connection we count.