SK 2774 then SK 1655 at Copenhagen
Porto → Copenhagen → Stuttgart
Timetable, Copenhagen time
22:05SK 2774 from Porto at the gate
18:00SK 1655 to Stuttgart leaves the gate
19 h 55 apart on the timetable, overnight
SK 1655 leaves 19 h 55 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.