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