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