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