UA 2038 then UA 8120 at San Francisco
Houston → San Francisco → San Diego
Timetable, San Francisco time
21:01UA 2038 from Houston at the gate
18:00UA 8120 to San Diego leaves the gate
20 h 59 apart on the timetable, overnight
UA 8120 leaves 20 h 59 after UA 2038 arrives on the timetable: more than half a day, so not a connection we count.