AA 847 then AA 5229 at Charlotte
Philadelphia → Charlotte → Harrisburg
Timetable, Charlotte time
12:30AA 847 from Philadelphia at the gate
08:30AA 5229 to Harrisburg leaves the gate
20 h apart on the timetable, overnight
AA 5229 leaves 20 h after AA 847 arrives on the timetable: more than half a day, so not a connection we count.