UA 5480 then UA 1482 at San Francisco
Sacramento → San Francisco → Ontario
Timetable, San Francisco time
15:29UA 5480 from Sacramento at the gate
11:00UA 1482 to Ontario leaves the gate
19 h 31 apart on the timetable, overnight
UA 1482 leaves 19 h 31 after UA 5480 arrives on the timetable: more than half a day, so not a connection we count.