FR 3181 then DY 3657 at Barcelona
Rome → Barcelona → Copenhagen
Timetable, Barcelona time
13:40FR 3181 from Rome at the gate
12:30DY 3657 to Copenhagen leaves the gate
22 h 50 apart on the timetable, overnight
DY 3657 leaves 22 h 50 after FR 3181 arrives on the timetable: more than half a day, so not a connection we count.