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