UA 1506 then UA 1768 at LAX
San Francisco → Los Angeles → Las Vegas
Timetable, Los Angeles time
18:57UA 1506 from San Francisco at the gate
18:51UA 1768 to Las Vegas leaves the gate
23 h 54 apart on the timetable, overnight
UA 1768 leaves 23 h 54 after UA 1506 arrives on the timetable: more than half a day, so not a connection we count.