DY 1127 then W6 1786 at Oslo
Hamburg → Oslo → Gdansk
Timetable, Oslo time
16:15DY 1127 from Hamburg at the gate
12:40W6 1786 to Gdansk leaves the gate
20 h 25 apart on the timetable, overnight
W6 1786 leaves 20 h 25 after DY 1127 arrives on the timetable: more than half a day, so not a connection we count.