DY 2002 then W6 2242 at Oslo
Riga → Oslo → Budapest
Timetable, Oslo time
08:35DY 2002 from Riga at the gate
21:40W6 2242 to Budapest leaves the gate
13 h 05 apart on the timetable
W6 2242 leaves 13 h 05 after DY 2002 arrives on the timetable: more than half a day, so not a connection we count.