U2 7836 then KL 843 at Schiphol
Edinburgh → Amsterdam → Bangkok
Timetable, Amsterdam time
18:20U2 7836 from Edinburgh at the gate
16:55KL 843 to Bangkok leaves the gate
22 h 35 apart on the timetable, overnight
KL 843 leaves 22 h 35 after U2 7836 arrives on the timetable: more than half a day, so not a connection we count.