BA 2036 then U2 863 at Gatwick
Orlando → London → Glasgow
Timetable, London time
07:30BA 2036 from Orlando at the gate
06:20U2 863 to Glasgow leaves the gate
22 h 50 apart on the timetable, overnight
U2 863 leaves 22 h 50 after BA 2036 arrives on the timetable: more than half a day, so not a connection we count.