UA 3904 then UA 871 at San Francisco
Denver → San Francisco → Taipei
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
13:35UA 871 to Taipei leaves the gate
14 h 45 apart on the timetable, overnight
UA 871 leaves 14 h 45 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.