EK 31 then BA 822 at Heathrow
Dubai → London → Billund
Timetable, London time
16:10EK 31 from Dubai at the gate
16:05BA 822 to Billund leaves the gate
23 h 55 apart on the timetable, overnight
BA 822 leaves 23 h 55 after EK 31 arrives on the timetable: more than half a day, so not a connection we count.