BA 353 then UA 905 at Heathrow
Nice → London → Newark
Timetable, London time
09:35BA 353 from Nice at the gate
09:10UA 905 to Newark leaves the gate
23 h 35 apart on the timetable, overnight
UA 905 leaves 23 h 35 after BA 353 arrives on the timetable: more than half a day, so not a connection we count.