W6 2403 then DY 8483 at Arlanda
Budapest → Stockholm → Riga
Timetable, Stockholm time
21:10W6 2403 from Budapest at the gate
20:20DY 8483 to Riga leaves the gate
23 h 10 apart on the timetable, overnight
DY 8483 leaves 23 h 10 after W6 2403 arrives on the timetable: more than half a day, so not a connection we count.