KL 1015 then BA 870 at Heathrow
Amsterdam → London → Budapest
Timetable, London time
19:15KL 1015 from Amsterdam at the gate
18:25BA 870 to Budapest leaves the gate
23 h 10 apart on the timetable, overnight
BA 870 leaves 23 h 10 after KL 1015 arrives on the timetable: more than half a day, so not a connection we count.