AA 2407 then NZ 2223 at San Francisco
Philadelphia → San Francisco → Tampa
Timetable, San Francisco time
11:35AA 2407 from Philadelphia at the gate
07:45NZ 2223 to Tampa leaves the gate
20 h 10 apart on the timetable, overnight
NZ 2223 leaves 20 h 10 after AA 2407 arrives on the timetable: more than half a day, so not a connection we count.