UA 5599 then UA 3906 at San Francisco
Carlsbad → San Francisco → Newark
Timetable, San Francisco time
15:30UA 5599 from Carlsbad at the gate
07:00UA 3906 to Newark leaves the gate
15 h 30 apart on the timetable, overnight
UA 3906 leaves 15 h 30 after UA 5599 arrives on the timetable: more than half a day, so not a connection we count.