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