W6 2095 then W6 1176 at Barcelona
Krakow → Barcelona → Katowice
Timetable, Barcelona time
18:20W6 2095 from Krakow at the gate
16:05W6 1176 to Katowice leaves the gate
21 h 45 apart on the timetable, overnight
W6 1176 leaves 21 h 45 after W6 2095 arrives on the timetable: more than half a day, so not a connection we count.