BA 433 then BA 1450 at Heathrow
Amsterdam → London → Edinburgh
Timetable, London time
11:55BA 433 from Amsterdam at the gate
11:35BA 1450 to Edinburgh leaves the gate
23 h 40 apart on the timetable, overnight
BA 1450 leaves 23 h 40 after BA 433 arrives on the timetable: more than half a day, so not a connection we count.