UA 2171 then CI 5345 at San Francisco
Newark → San Francisco → Taipei
Timetable, San Francisco time
21:21UA 2171 from Newark at the gatealso VA 8515, NZ 9129
16:40CI 5345 to Taipei leaves the gate
19 h 19 apart on the timetable, overnight
CI 5345 leaves 19 h 19 after UA 2171 arrives on the timetable: more than half a day, so not a connection we count.