LH 9221 then AA 7516 at San Francisco
Sacramento → San Francisco → Palm Springs
Timetable, San Francisco time
20:00LH 9221 from Sacramento at the gate
16:11AA 7516 to Palm Springs leaves the gate
20 h 11 apart on the timetable, overnight
AA 7516 leaves 20 h 11 after LH 9221 arrives on the timetable: more than half a day, so not a connection we count.