U2 7836 then KL 1317 at Schiphol
Edinburgh → Amsterdam → Warsaw
Timetable, Amsterdam time
18:20U2 7836 from Edinburgh at the gate
17:00KL 1317 to Warsaw leaves the gate
22 h 40 apart on the timetable, overnight
KL 1317 leaves 22 h 40 after U2 7836 arrives on the timetable: more than half a day, so not a connection we count.