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