UA 3904 then UA 1147 at San Francisco
Denver → San Francisco → Chicago O'Hare
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
15:20UA 1147 to Chicago O'Hare leaves the gatealso AC 4185, CA 7326, VA 8104, NZ 9313
16 h 30 apart on the timetable, overnight
UA 1147 leaves 16 h 30 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.