UA 794 then UA 3917 at San Francisco
Newark → San Francisco → Las Vegas
Timetable, San Francisco time
18:33UA 794 from Newark at the gatealso VA 8577, NZ 9125
16:45UA 3917 to Las Vegas leaves the gate
22 h 12 apart on the timetable, overnight
UA 3917 leaves 22 h 12 after UA 794 arrives on the timetable: more than half a day, so not a connection we count.