UA 1546 then UA 2056 at LAX
Sacramento → Los Angeles → San Francisco
Timetable, Los Angeles time
21:52UA 1546 from Sacramento at the gate
21:35UA 2056 to San Francisco leaves the gate
23 h 43 apart on the timetable, overnight
UA 2056 leaves 23 h 43 after UA 1546 arrives on the timetable: more than half a day, so not a connection we count.