WN 2874 then WN 1871 at LAX
Oakland → Los Angeles → San Francisco
Timetable, Los Angeles time
14:05WN 2874 from Oakland at the gate
13:00WN 1871 to San Francisco leaves the gate
22 h 55 apart on the timetable, overnight
WN 1871 leaves 22 h 55 after WN 2874 arrives on the timetable: more than half a day, so not a connection we count.