U2 7836 then KL 1665 at Schiphol
Edinburgh → Amsterdam → Bologna
Timetable, Amsterdam time
18:20U2 7836 from Edinburgh at the gate
14:40KL 1665 to Bologna leaves the gate
20 h 20 apart on the timetable, overnight
KL 1665 leaves 20 h 20 after U2 7836 arrives on the timetable: more than half a day, so not a connection we count.