AA 2987 then WN 3470 at Phoenix
Lagos → Phoenix → Oakland
Timetable, Phoenix time
15:45AA 2987 from Lagos at the gate
15:30WN 3470 to Oakland leaves the gate
23 h 45 apart on the timetable, overnight
WN 3470 leaves 23 h 45 after AA 2987 arrives on the timetable: more than half a day, so not a connection we count.