FR 7958 then FR 846 at Barcelona
Cork → Barcelona → Milan Bergamo
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
20:10FR 846 to Milan Bergamo leaves the gate
21 h 15 apart on the timetable, overnight
FR 846 leaves 21 h 15 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.