FR 2674 then FR 7395 at Copenhagen
Edinburgh → Copenhagen → London Stansted
Timetable, Copenhagen time
23:00FR 2674 from Edinburgh at the gate
16:00FR 7395 to London Stansted leaves the gate
17 h apart on the timetable, overnight
FR 7395 leaves 17 h after FR 2674 arrives on the timetable: more than half a day, so not a connection we count.