EC 7154 then AM 6359 at Barcelona
Milan → Barcelona → Amsterdam
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
17:25AM 6359 to Amsterdam leaves the gatealso KE 6406
18 h 10 apart on the timetable, overnight
AM 6359 leaves 18 h 10 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.