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