BA 1455 then BA 940 at Heathrow
Edinburgh → London → Düsseldorf
Timetable, London time
20:00BA 1455 from Edinburgh at the gate
19:55BA 940 to Düsseldorf leaves the gate
23 h 55 apart on the timetable, overnight
BA 940 leaves 23 h 55 after BA 1455 arrives on the timetable: more than half a day, so not a connection we count.