FR 8385 then W6 7022 at Barcelona
Budapest → Barcelona → Bratislava
Timetable, Barcelona time
18:00FR 8385 from Budapest at the gate
12:15W6 7022 to Bratislava leaves the gate
18 h 15 apart on the timetable, overnight
W6 7022 leaves 18 h 15 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.