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