UA 5612 then UA 5398 at LAX
Las Vegas → Los Angeles → Monterey
Timetable, Los Angeles time
20:03UA 5612 from Las Vegas at the gate
19:10UA 5398 to Monterey leaves the gate
23 h 07 apart on the timetable, overnight
UA 5398 leaves 23 h 07 after UA 5612 arrives on the timetable: more than half a day, so not a connection we count.