UA 3904 then UA 8156 at San Francisco
Denver → San Francisco → Boston
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
11:32UA 8156 to Boston leaves the gate
12 h 42 apart on the timetable, overnight
UA 8156 leaves 12 h 42 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.