UA 1531 then UA 3917 at San Francisco
Santa Ana → San Francisco → Las Vegas
Timetable, San Francisco time
20:02UA 1531 from Santa Ana at the gate
16:45UA 3917 to Las Vegas leaves the gate
20 h 43 apart on the timetable, overnight
UA 3917 leaves 20 h 43 after UA 1531 arrives on the timetable: more than half a day, so not a connection we count.