HV 5131 then W4 6316 at Barcelona
Amsterdam → Barcelona → Milan
Timetable, Barcelona time
13:35HV 5131 from Amsterdam at the gate
13:10W4 6316 to Milan leaves the gate
23 h 35 apart on the timetable, overnight
W4 6316 leaves 23 h 35 after HV 5131 arrives on the timetable: more than half a day, so not a connection we count.