U2 7838 then CD 5987 at Schiphol
Edinburgh → Amsterdam → Willemstad
Timetable, Amsterdam time
21:55U2 7838 from Edinburgh at the gate
13:35CD 5987 to Willemstad leaves the gate
15 h 40 apart on the timetable, overnight
CD 5987 leaves 15 h 40 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.