KL 1830 then U2 7835 at Schiphol
Stuttgart → Amsterdam → Edinburgh
Timetable, Amsterdam time
13:20KL 1830 from Stuttgart at the gate
07:00U2 7835 to Edinburgh leaves the gate
17 h 40 apart on the timetable, overnight
U2 7835 leaves 17 h 40 after KL 1830 arrives on the timetable: more than half a day, so not a connection we count.