U2 866 then DS 8507 at Gatwick
Glasgow → London → Geneva
Timetable, London time
15:55U2 866 from Glasgow at the gate
14:40DS 8507 to Geneva leaves the gate
22 h 45 apart on the timetable, overnight
DS 8507 leaves 22 h 45 after U2 866 arrives on the timetable: more than half a day, so not a connection we count.