KL 1832 then U2 7835 at Schiphol
Stuttgart → Amsterdam → Edinburgh
Timetable, Amsterdam time
16:05KL 1832 from Stuttgart at the gate
07:00U2 7835 to Edinburgh leaves the gate
14 h 55 apart on the timetable, overnight
U2 7835 leaves 14 h 55 after KL 1832 arrives on the timetable: more than half a day, so not a connection we count.