FR 215 then FR 1624 at Vienna
Milan → Vienna → Edinburgh
Timetable, Vienna time
11:25FR 215 from Milan at the gate
10:35FR 1624 to Edinburgh leaves the gate
23 h 10 apart on the timetable, overnight
FR 1624 leaves 23 h 10 after FR 215 arrives on the timetable: more than half a day, so not a connection we count.