AF 5647 then UA 853 at San Francisco
Los Angeles → San Francisco → Taipei
Timetable, San Francisco time
23:21AF 5647 from Los Angeles at the gate
23:10UA 853 to Taipei leaves the gate
23 h 49 apart on the timetable, overnight
UA 853 leaves 23 h 49 after AF 5647 arrives on the timetable: more than half a day, so not a connection we count.