SK 650 then DY 2063 at Copenhagen
Hamburg → Copenhagen → Riga
Timetable, Copenhagen time
16:15SK 650 from Hamburg at the gate
11:55DY 2063 to Riga leaves the gate
19 h 40 apart on the timetable, overnight
DY 2063 leaves 19 h 40 after SK 650 arrives on the timetable: more than half a day, so not a connection we count.