EC 3749 then VY 6020 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
21:05VY 6020 to Rome leaves the gate
23 h 35 apart on the timetable, overnight
VY 6020 leaves 23 h 35 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.