FR 2724 then W6 1742 at Copenhagen
Krakow → Copenhagen → Gdansk
Timetable, Copenhagen time
21:45FR 2724 from Krakow at the gate
18:30W6 1742 to Gdansk leaves the gate
20 h 45 apart on the timetable, overnight
W6 1742 leaves 20 h 45 after FR 2724 arrives on the timetable: more than half a day, so not a connection we count.