EC 3749 then QR 4678 at Barcelona
Milan → Barcelona → Amsterdam
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
16:00QR 4678 to Amsterdam leaves the gate
18 h 30 apart on the timetable, overnight
QR 4678 leaves 18 h 30 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.