U2 7838 then KL 641 at Schiphol
Edinburgh → Amsterdam → New York JFK
Timetable, Amsterdam time
17:20U2 7838 from Edinburgh at the gate
12:50KL 641 to New York JFK leaves the gate
19 h 30 apart on the timetable, overnight
KL 641 leaves 19 h 30 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.