SK 2774 then BT 140 at Copenhagen
Porto → Copenhagen → Riga
Timetable, Copenhagen time
21:55SK 2774 from Porto at the gate
20:10BT 140 to Riga leaves the gate
22 h 15 apart on the timetable, overnight
BT 140 leaves 22 h 15 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.