SK 2774 then DY 2063 at Copenhagen
Porto → Copenhagen → Riga
Timetable, Copenhagen time
21:55SK 2774 from Porto at the gate
17:50DY 2063 to Riga leaves the gate
19 h 55 apart on the timetable, overnight
DY 2063 leaves 19 h 55 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.