FR 607 then SK 759 at Copenhagen
Madrid → Copenhagen → Gdansk
Timetable, Copenhagen time
14:00FR 607 from Madrid at the gate
13:50SK 759 to Gdansk leaves the gate
23 h 50 apart on the timetable, overnight
SK 759 leaves 23 h 50 after FR 607 arrives on the timetable: more than half a day, so not a connection we count.