UA 901 then BA 432 at Heathrow
San Francisco → London → Amsterdam
Timetable, London time
07:25UA 901 from San Francisco at the gate
07:00BA 432 to Amsterdam leaves the gate
23 h 35 apart on the timetable, overnight
BA 432 leaves 23 h 35 after UA 901 arrives on the timetable: more than half a day, so not a connection we count.