UA 1506 then UA 4754 at LAX
San Francisco → Los Angeles → Sacramento
Timetable, Los Angeles time
18:57UA 1506 from San Francisco at the gate
16:30UA 4754 to Sacramento leaves the gate
21 h 33 apart on the timetable, overnight
UA 4754 leaves 21 h 33 after UA 1506 arrives on the timetable: more than half a day, so not a connection we count.