KL 1314 then U2 3174 at Schiphol
Warsaw → Amsterdam → Glasgow
Timetable, Amsterdam time
14:50KL 1314 from Warsaw at the gate
13:55U2 3174 to Glasgow leaves the gate
23 h 05 apart on the timetable, overnight
U2 3174 leaves 23 h 05 after KL 1314 arrives on the timetable: more than half a day, so not a connection we count.