FR 6266 then W4 6022 at Barcelona
Edinburgh → Barcelona → Rome
Timetable, Barcelona time
16:50FR 6266 from Edinburgh at the gate
15:15W4 6022 to Rome leaves the gate
22 h 25 apart on the timetable, overnight
W4 6022 leaves 22 h 25 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.