EW 2520 then DY 3657 at Barcelona
Stuttgart → Barcelona → Copenhagen
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
12:30DY 3657 to Copenhagen leaves the gate
22 h 05 apart on the timetable, overnight
DY 3657 leaves 22 h 05 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.