AA 279 then AA 817 at Philadelphia
Edinburgh → Philadelphia → Miami
Timetable, Philadelphia time
14:55AA 279 from Edinburgh at the gate
11:45AA 817 to Miami leaves the gate
20 h 50 apart on the timetable, overnight
AA 817 leaves 20 h 50 after AA 279 arrives on the timetable: more than half a day, so not a connection we count.