FR 9840 then SK 2802 at Lisbon
Cologne → Lisbon → Copenhagen
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
17:00SK 2802 to Copenhagen leaves the gate
17 h 30 apart on the timetable, overnight
SK 2802 leaves 17 h 30 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.