FR 3181 then VY 1058 at Barcelona
Rome → Barcelona → Amsterdam
Timetable, Barcelona time
13:40FR 3181 from Rome at the gate
13:20VY 1058 to Amsterdam leaves the gate
23 h 40 apart on the timetable, overnight
VY 1058 leaves 23 h 40 after FR 3181 arrives on the timetable: more than half a day, so not a connection we count.