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