FR 9674 then W6 1700 at Fiumicino
Madrid → Rome → Gdansk
Timetable, Rome time
23:15FR 9674 from Madrid at the gate
22:10W6 1700 to Gdansk leaves the gate
22 h 55 apart on the timetable, overnight
W6 1700 leaves 22 h 55 after FR 9674 arrives on the timetable: more than half a day, so not a connection we count.