UA 5192 then UA 1577 at O'Hare
Clarksburg → Chicago → San Francisco
Timetable, Chicago time
15:35UA 5192 from Clarksburg at the gate
14:30UA 1577 to San Francisco leaves the gate
22 h 55 apart on the timetable, overnight
UA 1577 leaves 22 h 55 after UA 5192 arrives on the timetable: more than half a day, so not a connection we count.