UA 2747 then UA 3871 at O'Hare
Buffalo → Chicago → Xiamen
Timetable, Chicago time
19:02UA 2747 from Buffalo at the gate
15:30UA 3871 to Xiamen leaves the gate
20 h 28 apart on the timetable, overnight
UA 3871 leaves 20 h 28 after UA 2747 arrives on the timetable: more than half a day, so not a connection we count.