FR 80 then SK 759 at Copenhagen
Budapest → Copenhagen → Gdansk
Timetable, Copenhagen time
19:40FR 80 from Budapest at the gate
13:35SK 759 to Gdansk leaves the gate
17 h 55 apart on the timetable, overnight
SK 759 leaves 17 h 55 after FR 80 arrives on the timetable: more than half a day, so not a connection we count.