DY 3704 then FR 3814 at Madrid
Copenhagen → Madrid → Bologna
Timetable, Madrid time
12:10DY 3704 from Copenhagen at the gate
07:50FR 3814 to Bologna leaves the gate
19 h 40 apart on the timetable, overnight
FR 3814 leaves 19 h 40 after DY 3704 arrives on the timetable: more than half a day, so not a connection we count.