EC 7174 then VY 1062 at Barcelona
Berlin → Barcelona → Amsterdam
Timetable, Barcelona time
18:35EC 7174 from Berlin at the gate
18:30VY 1062 to Amsterdam leaves the gate
23 h 55 apart on the timetable, overnight
VY 1062 leaves 23 h 55 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.