W6 2241 then W6 2034 at Oslo
Budapest → Oslo → Krakow
Timetable, Oslo time
21:05W6 2241 from Budapest at the gate
15:50W6 2034 to Krakow leaves the gate
18 h 45 apart on the timetable, overnight
W6 2034 leaves 18 h 45 after W6 2241 arrives on the timetable: more than half a day, so not a connection we count.