UA 571 then AA 1845 at San Francisco
Atlanta → San Francisco → Philadelphia
Timetable, San Francisco time
11:24UA 571 from Atlanta at the gatealso VA 8403, NZ 9005
09:58AA 1845 to Philadelphia leaves the gatealso EI 7276
22 h 34 apart on the timetable, overnight
AA 1845 leaves 22 h 34 after UA 571 arrives on the timetable: more than half a day, so not a connection we count.