EC 7154 then FR 1279 at Barcelona
Milan → Barcelona → Copenhagen
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
21:10FR 1279 to Copenhagen leaves the gate
21 h 55 apart on the timetable, overnight
FR 1279 leaves 21 h 55 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.