U2 8784 then U2 865 at Gatwick
Prague → London → Glasgow
Timetable, London time
21:10U2 8784 from Prague at the gate
12:15U2 865 to Glasgow leaves the gate
15 h 05 apart on the timetable, overnight
U2 865 leaves 15 h 05 after U2 8784 arrives on the timetable: more than half a day, so not a connection we count.