U2 7838 then KL 1777 at Schiphol
Edinburgh → Amsterdam → Berlin
Timetable, Amsterdam time
15:20U2 7838 from Edinburgh at the gate
12:15KL 1777 to Berlin leaves the gate
20 h 55 apart on the timetable, overnight
KL 1777 leaves 20 h 55 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.