UA 2038 then UA 3917 at San Francisco
Houston → San Francisco → Las Vegas
Timetable, San Francisco time
21:01UA 2038 from Houston at the gate
16:45UA 3917 to Las Vegas leaves the gate
19 h 44 apart on the timetable, overnight
UA 3917 leaves 19 h 44 after UA 2038 arrives on the timetable: more than half a day, so not a connection we count.