KL 1512 then U2 7837 at Schiphol
Barcelona → Amsterdam → Edinburgh
Timetable, Amsterdam time
13:40KL 1512 from Barcelona at the gate
11:40U2 7837 to Edinburgh leaves the gate
22 h apart on the timetable, overnight
U2 7837 leaves 22 h after KL 1512 arrives on the timetable: more than half a day, so not a connection we count.