SK 2514 then FR 2762 at Copenhagen
Edinburgh → Copenhagen → Krakow
Timetable, Copenhagen time
21:55SK 2514 from Edinburgh at the gate
20:05FR 2762 to Krakow leaves the gate
22 h 10 apart on the timetable, overnight
FR 2762 leaves 22 h 10 after SK 2514 arrives on the timetable: more than half a day, so not a connection we count.