UA 370 then WN 585 at Phoenix
Newark → Phoenix → Denver
Timetable, Phoenix time
15:31UA 370 from Newark at the gate
15:25WN 585 to Denver leaves the gate
23 h 54 apart on the timetable, overnight
WN 585 leaves 23 h 54 after UA 370 arrives on the timetable: more than half a day, so not a connection we count.