UA 3852 then WN 3844 at San Francisco
Ontario → San Francisco → Denver
Timetable, San Francisco time
14:00UA 3852 from Ontario at the gate
08:00WN 3844 to Denver leaves the gate
18 h apart on the timetable, overnight
WN 3844 leaves 18 h after UA 3852 arrives on the timetable: more than half a day, so not a connection we count.