BA 2717 then U2 869 at Gatwick
Funchal → London → Glasgow
Timetable, London time
19:55BA 2717 from Funchal at the gate
18:35U2 869 to Glasgow leaves the gate
22 h 40 apart on the timetable, overnight
U2 869 leaves 22 h 40 after BA 2717 arrives on the timetable: more than half a day, so not a connection we count.