DY 3503 then DY 4168 at Copenhagen
Edinburgh → Copenhagen → Stockholm
Timetable, Copenhagen time
22:00DY 3503 from Edinburgh at the gate
19:00DY 4168 to Stockholm leaves the gate
21 h apart on the timetable, overnight
DY 4168 leaves 21 h after DY 3503 arrives on the timetable: more than half a day, so not a connection we count.