WN 3723 then UA 5980 at Phoenix
San Diego → Phoenix → Lagos
Timetable, Phoenix time
20:55WN 3723 from San Diego at the gate
19:37UA 5980 to Lagos leaves the gate
22 h 42 apart on the timetable, overnight
UA 5980 leaves 22 h 42 after WN 3723 arrives on the timetable: more than half a day, so not a connection we count.