BA 7607 then UA 794 at San Francisco
Los Angeles → San Francisco → San Diego
Timetable, San Francisco time
23:27BA 7607 from Los Angeles at the gate
20:45UA 794 to San Diego leaves the gate
21 h 18 apart on the timetable, overnight
UA 794 leaves 21 h 18 after BA 7607 arrives on the timetable: more than half a day, so not a connection we count.