U2 866 then U2 8317 at Gatwick
Glasgow → London → Pisa
Timetable, London time
13:45U2 866 from Glasgow at the gate
09:00U2 8317 to Pisa leaves the gate
19 h 15 apart on the timetable, overnight
U2 8317 leaves 19 h 15 after U2 866 arrives on the timetable: more than half a day, so not a connection we count.