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