BA 975 then UA 147 at Heathrow
Berlin → London → Newark
Timetable, London time
13:05BA 975 from Berlin at the gate
12:45UA 147 to Newark leaves the gate
23 h 40 apart on the timetable, overnight
UA 147 leaves 23 h 40 after BA 975 arrives on the timetable: more than half a day, so not a connection we count.