FR 3077 then FR 1279 at Barcelona
Stockholm → Barcelona → Copenhagen
Timetable, Barcelona time
19:50FR 3077 from Stockholm at the gate
19:20FR 1279 to Copenhagen leaves the gate
23 h 30 apart on the timetable, overnight
FR 1279 leaves 23 h 30 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.