WN 2945 then AV 2354 at San Francisco
Chicago Midway → San Francisco → Denver
Timetable, San Francisco time
13:10WN 2945 from Chicago Midway at the gate
05:00AV 2354 to Denver leaves the gate
15 h 50 apart on the timetable, overnight
AV 2354 leaves 15 h 50 after WN 2945 arrives on the timetable: more than half a day, so not a connection we count.