DY 4120 then D8 2031 at Arlanda
Oslo → Stockholm → Riga
Timetable, Stockholm time
19:00DY 4120 from Oslo at the gate
14:00D8 2031 to Riga leaves the gate
19 h apart on the timetable, overnight
D8 2031 leaves 19 h after DY 4120 arrives on the timetable: more than half a day, so not a connection we count.