FR 270 then W4 6022 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
17:10FR 270 from Milan at the gate
15:15W4 6022 to Rome leaves the gate
22 h 05 apart on the timetable, overnight
W4 6022 leaves 22 h 05 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.