SK 588 then SK 753 at Copenhagen
Málaga → Copenhagen → Gdansk
Timetable, Copenhagen time
23:55SK 588 from Málaga at the gate
23:00SK 753 to Gdansk leaves the gate
23 h 05 apart on the timetable, overnight
SK 753 leaves 23 h 05 after SK 588 arrives on the timetable: more than half a day, so not a connection we count.