U2 8822 then U2 869 at Gatwick
Krakow → London → Glasgow
Timetable, London time
20:50U2 8822 from Krakow at the gate
18:45U2 869 to Glasgow leaves the gate
21 h 55 apart on the timetable, overnight
U2 869 leaves 21 h 55 after U2 8822 arrives on the timetable: more than half a day, so not a connection we count.