U2 7836 then KL 1307 at Schiphol
Edinburgh → Amsterdam → Gdansk
Timetable, Amsterdam time
18:20U2 7836 from Edinburgh at the gate
15:55KL 1307 to Gdansk leaves the gate
21 h 35 apart on the timetable, overnight
KL 1307 leaves 21 h 35 after U2 7836 arrives on the timetable: more than half a day, so not a connection we count.