W6 1701 then W4 6314 at Madrid
Gdansk → Madrid → Milan
Timetable, Madrid time
09:45W6 1701 from Gdansk at the gate
23:10W4 6314 to Milan leaves the gate
13 h 25 apart on the timetable
W4 6314 leaves 13 h 25 after W6 1701 arrives on the timetable: more than half a day, so not a connection we count.