DY 2030 then AY 806 at Arlanda
Riga → Stockholm → Helsinki
Timetable, Stockholm time
14:55DY 2030 from Riga at the gate
12:35AY 806 to Helsinki leaves the gate
21 h 40 apart on the timetable, overnight
AY 806 leaves 21 h 40 after DY 2030 arrives on the timetable: more than half a day, so not a connection we count.