UA 3851 then DL 4631 at San Francisco
Rio De Janeiro → San Francisco → Santa Ana
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
15:05DL 4631 to Santa Ana leaves the gate
21 h 24 apart on the timetable, overnight
DL 4631 leaves 21 h 24 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.