SK 2774 then SK 647 at Copenhagen
Porto → Copenhagen → Hamburg
Timetable, Copenhagen time
22:05SK 2774 from Porto at the gate
21:25SK 647 to Hamburg leaves the gate
23 h 20 apart on the timetable, overnight
SK 647 leaves 23 h 20 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.