WN 3091 then WN 3506 at Phoenix
St Louis → Phoenix → San Diego
Timetable, Phoenix time
17:20WN 3091 from St Louis at the gate
16:00WN 3506 to San Diego leaves the gate
22 h 40 apart on the timetable, overnight
WN 3506 leaves 22 h 40 after WN 3091 arrives on the timetable: more than half a day, so not a connection we count.