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