BA 343 then BA 410 at Heathrow
Nice → London → Valencia
Timetable, London time
15:05BA 343 from Nice at the gate
15:00BA 410 to Valencia leaves the gate
23 h 55 apart on the timetable, overnight
BA 410 leaves 23 h 55 after BA 343 arrives on the timetable: more than half a day, so not a connection we count.