UA 1195 then UA 4754 at LAX
Denver → Los Angeles → Sacramento
Timetable, Los Angeles time
17:24UA 1195 from Denver at the gate
16:30UA 4754 to Sacramento leaves the gate
23 h 06 apart on the timetable, overnight
UA 4754 leaves 23 h 06 after UA 1195 arrives on the timetable: more than half a day, so not a connection we count.