U2 3301 then KL 895 at Schiphol
Edinburgh → Amsterdam → Shanghai
Timetable, Amsterdam time
21:15U2 3301 from Edinburgh at the gate
13:50KL 895 to Shanghai leaves the gate
16 h 35 apart on the timetable, overnight
KL 895 leaves 16 h 35 after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.