AA 2285 then AA 5215 at Philadelphia
Tampa → Philadelphia → Harrisburg
Timetable, Philadelphia time
14:17AA 2285 from Tampa at the gate
08:20AA 5215 to Harrisburg leaves the gate
18 h 03 apart on the timetable, overnight
AA 5215 leaves 18 h 03 after AA 2285 arrives on the timetable: more than half a day, so not a connection we count.