VY 1060 then U2 6002 at Schiphol
Barcelona → Amsterdam → Marrakesh
Timetable, Amsterdam time
18:35VY 1060 from Barcelona at the gate
12:05U2 6002 to Marrakesh leaves the gate
17 h 30 apart on the timetable, overnight
U2 6002 leaves 17 h 30 after VY 1060 arrives on the timetable: more than half a day, so not a connection we count.