FR 607 then SK 1799 at Copenhagen
Madrid → Copenhagen → Krakow
Timetable, Copenhagen time
00:45FR 607 from Madrid at the gate
18:00SK 1799 to Krakow leaves the gate
17 h 15 apart on the timetable
SK 1799 leaves 17 h 15 after FR 607 arrives on the timetable: more than half a day, so not a connection we count.