W6 1741 then DY 2063 at Copenhagen
Gdansk → Copenhagen → Riga
Timetable, Copenhagen time
12:15W6 1741 from Gdansk at the gate
11:55DY 2063 to Riga leaves the gate
23 h 40 apart on the timetable, overnight
DY 2063 leaves 23 h 40 after W6 1741 arrives on the timetable: more than half a day, so not a connection we count.