FR 7800 then FR 808 at Dublin
Milan → Dublin → Edinburgh
Timetable, Dublin time
23:55FR 7800 from Milan at the gate
20:30FR 808 to Edinburgh leaves the gate
20 h 35 apart on the timetable, overnight
FR 808 leaves 20 h 35 after FR 7800 arrives on the timetable: more than half a day, so not a connection we count.