SK 1830 then DY 2031 at Arlanda
Nice → Stockholm → Riga
Timetable, Stockholm time
14:10SK 1830 from Nice at the gate
14:00DY 2031 to Riga leaves the gate
23 h 50 apart on the timetable, overnight
DY 2031 leaves 23 h 50 after SK 1830 arrives on the timetable: more than half a day, so not a connection we count.