BA 1461 then BA 592 at Heathrow
Edinburgh → London → Venezia
Timetable, London time
07:45BA 1461 from Edinburgh at the gate
07:25BA 592 to Venezia leaves the gate
23 h 40 apart on the timetable, overnight
BA 592 leaves 23 h 40 after BA 1461 arrives on the timetable: more than half a day, so not a connection we count.