FR 215 then OS 405 at Vienna
Milan → Vienna → Barcelona
Timetable, Vienna time
22:50FR 215 from Milan at the gate
17:25OS 405 to Barcelona leaves the gate
18 h 35 apart on the timetable, overnight
OS 405 leaves 18 h 35 after FR 215 arrives on the timetable: more than half a day, so not a connection we count.