UA 3917 then UA 1799 at San Francisco
Los Angeles → San Francisco → Los Angeles
Timetable, San Francisco time
19:00UA 3917 from Los Angeles at the gate
18:55UA 1799 to Los Angeles leaves the gatealso VA 8048, NZ 9255
23 h 55 apart on the timetable, overnight
UA 1799 leaves 23 h 55 after UA 3917 arrives on the timetable: more than half a day, so not a connection we count.