AA 817 then AA 2757 at Miami
Philadelphia → Miami → San Francisco
Timetable, Miami time
21:26AA 817 from Philadelphia at the gate
20:44AA 2757 to San Francisco leaves the gate
23 h 18 apart on the timetable, overnight
AA 2757 leaves 23 h 18 after AA 817 arrives on the timetable: more than half a day, so not a connection we count.