U2 7838 then KL 1327 at Schiphol
Edinburgh → Amsterdam → Krakow
Timetable, Amsterdam time
15:20U2 7838 from Edinburgh at the gate
15:05KL 1327 to Krakow leaves the gate
23 h 45 apart on the timetable, overnight
KL 1327 leaves 23 h 45 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.