UA 5240 then WN 1817 at Denver
Wichita → Denver → San Francisco
Timetable, Denver time
17:55UA 5240 from Wichita at the gate
17:35WN 1817 to San Francisco leaves the gate
23 h 40 apart on the timetable, overnight
WN 1817 leaves 23 h 40 after UA 5240 arrives on the timetable: more than half a day, so not a connection we count.