U2 3301 then HV 5131 at Schiphol
Edinburgh → Amsterdam → Barcelona
Timetable, Amsterdam time
10:00U2 3301 from Edinburgh at the gate
07:00HV 5131 to Barcelona leaves the gate
21 h apart on the timetable, overnight
HV 5131 leaves 21 h after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.