BA 975 then BA 285 at Heathrow
Berlin → London → San Francisco
Timetable, London time
12:10BA 975 from Berlin at the gate
11:45BA 285 to San Francisco leaves the gate
23 h 35 apart on the timetable, overnight
BA 285 leaves 23 h 35 after BA 975 arrives on the timetable: more than half a day, so not a connection we count.