W6 1705 then QR 3683 at Barcelona
Gdansk → Barcelona → Santander
Timetable, Barcelona time
19:35W6 1705 from Gdansk at the gate
16:05QR 3683 to Santander leaves the gate
20 h 30 apart on the timetable, overnight
QR 3683 leaves 20 h 30 after W6 1705 arrives on the timetable: more than half a day, so not a connection we count.