WN 4039 then WN 1315 at Phoenix
Sacramento → Phoenix → San Diego
Timetable, Phoenix time
21:05WN 4039 from Sacramento at the gate
20:45WN 1315 to San Diego leaves the gate
23 h 40 apart on the timetable, overnight
WN 1315 leaves 23 h 40 after WN 4039 arrives on the timetable: more than half a day, so not a connection we count.