FR 6844 then DY 3704 at Copenhagen
Gdansk → Copenhagen → Madrid
Timetable, Copenhagen time
12:45FR 6844 from Gdansk at the gate
08:20DY 3704 to Madrid leaves the gate
19 h 35 apart on the timetable, overnight
DY 3704 leaves 19 h 35 after FR 6844 arrives on the timetable: more than half a day, so not a connection we count.