FR 6844 then W6 2252 at Copenhagen
Gdansk → Copenhagen → Budapest
Timetable, Copenhagen time
12:45FR 6844 from Gdansk at the gate
09:05W6 2252 to Budapest leaves the gate
20 h 20 apart on the timetable, overnight
W6 2252 leaves 20 h 20 after FR 6844 arrives on the timetable: more than half a day, so not a connection we count.