BA 284 then BA 470 at Heathrow
San Francisco → London → Palma de Mallorca
Timetable, London time
11:50BA 284 from San Francisco at the gate
08:00BA 470 to Palma de Mallorca leaves the gate
20 h 10 apart on the timetable, overnight
BA 470 leaves 20 h 10 after BA 284 arrives on the timetable: more than half a day, so not a connection we count.