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