W6 1785 then W6 2242 at Oslo
Gdansk → Oslo → Budapest
Timetable, Oslo time
07:25W6 1785 from Gdansk at the gate
20:10W6 2242 to Budapest leaves the gate
12 h 45 apart on the timetable
W6 2242 leaves 12 h 45 after W6 1785 arrives on the timetable: more than half a day, so not a connection we count.