EC 7152 then VY 1058 at Barcelona
Milan → Barcelona → Amsterdam
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
13:20VY 1058 to Amsterdam leaves the gate
20 h 25 apart on the timetable, overnight
VY 1058 leaves 20 h 25 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.