UA 638 then WN 2516 at San Francisco
Chicago O'Hare → San Francisco → Los Angeles
Timetable, San Francisco time
15:35UA 638 from Chicago O'Hare at the gatealso AC 4116
14:40WN 2516 to Los Angeles leaves the gate
23 h 05 apart on the timetable, overnight
WN 2516 leaves 23 h 05 after UA 638 arrives on the timetable: more than half a day, so not a connection we count.