WN 3723 then UA 5959 at Phoenix
San Diego → Phoenix → Lagos
Timetable, Phoenix time
16:45WN 3723 from San Diego at the gate
16:08UA 5959 to Lagos leaves the gate
23 h 23 apart on the timetable, overnight
UA 5959 leaves 23 h 23 after WN 3723 arrives on the timetable: more than half a day, so not a connection we count.