LH 9178 then UA 3917 at San Francisco
Chicago O'Hare → San Francisco → Las Vegas
Timetable, San Francisco time
17:25LH 9178 from Chicago O'Hare at the gate
16:45UA 3917 to Las Vegas leaves the gate
23 h 20 apart on the timetable, overnight
UA 3917 leaves 23 h 20 after LH 9178 arrives on the timetable: more than half a day, so not a connection we count.