UA 3904 then DL 4631 at San Francisco
Denver → San Francisco → Santa Ana
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
15:05DL 4631 to Santa Ana leaves the gate
16 h 15 apart on the timetable, overnight
DL 4631 leaves 16 h 15 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.