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