DY 3731 then U2 3324 at Copenhagen
Rome → Copenhagen → Edinburgh
Timetable, Copenhagen time
16:00DY 3731 from Rome at the gate
13:15U2 3324 to Edinburgh leaves the gate
21 h 15 apart on the timetable, overnight
U2 3324 leaves 21 h 15 after DY 3731 arrives on the timetable: more than half a day, so not a connection we count.