SK 867 then W6 1786 at Oslo
Stockholm → Oslo → Gdansk
Timetable, Oslo time
14:55SK 867 from Stockholm at the gate
12:40W6 1786 to Gdansk leaves the gate
21 h 45 apart on the timetable, overnight
W6 1786 leaves 21 h 45 after SK 867 arrives on the timetable: more than half a day, so not a connection we count.