FR 270 then EC 7199 at Barcelona
Milan → Barcelona → Edinburgh
Timetable, Barcelona time
16:45FR 270 from Milan at the gate
07:20EC 7199 to Edinburgh leaves the gate
14 h 35 apart on the timetable, overnight
EC 7199 leaves 14 h 35 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.