UA 353 then WN 2635 at LAX
Newark → Los Angeles → Sacramento
Timetable, Los Angeles time
21:22UA 353 from Newark at the gate
19:25WN 2635 to Sacramento leaves the gate
22 h 03 apart on the timetable, overnight
WN 2635 leaves 22 h 03 after UA 353 arrives on the timetable: more than half a day, so not a connection we count.