SK 662 then SK 2773 at Copenhagen
Munich → Copenhagen → Porto
Timetable, Copenhagen time
11:55SK 662 from Munich at the gate
09:35SK 2773 to Porto leaves the gate
21 h 40 apart on the timetable, overnight
SK 2773 leaves 21 h 40 after SK 662 arrives on the timetable: more than half a day, so not a connection we count.