U2 3301 then KL 1223 at Schiphol
Edinburgh → Amsterdam → Stockholm
Timetable, Amsterdam time
21:05U2 3301 from Edinburgh at the gate
14:40KL 1223 to Stockholm leaves the gate
17 h 35 apart on the timetable, overnight
KL 1223 leaves 17 h 35 after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.