AS 2287 then UA 5959 at Phoenix
San Diego → Phoenix → Lagos
Timetable, Phoenix time
16:10AS 2287 from San Diego at the gate
14:28UA 5959 to Lagos leaves the gate
22 h 18 apart on the timetable, overnight
UA 5959 leaves 22 h 18 after AS 2287 arrives on the timetable: more than half a day, so not a connection we count.