U2 7842 then U2 3174 at Schiphol
London Stansted → Amsterdam → Glasgow
Timetable, Amsterdam time
18:05U2 7842 from London Stansted at the gate
14:15U2 3174 to Glasgow leaves the gate
20 h 10 apart on the timetable, overnight
U2 3174 leaves 20 h 10 after U2 7842 arrives on the timetable: more than half a day, so not a connection we count.