FR 7361 then FR 9004 at Vienna
Milan Bergamo → Vienna → Bari
Timetable, Vienna time
18:30FR 7361 from Milan Bergamo at the gate
14:10FR 9004 to Bari leaves the gate
19 h 40 apart on the timetable, overnight
FR 9004 leaves 19 h 40 after FR 7361 arrives on the timetable: more than half a day, so not a connection we count.