UA 5480 then UA 581 at San Francisco
Sacramento → San Francisco → Cleveland
Timetable, San Francisco time
15:29UA 5480 from Sacramento at the gate
12:45UA 581 to Cleveland leaves the gate
21 h 16 apart on the timetable, overnight
UA 581 leaves 21 h 16 after UA 5480 arrives on the timetable: more than half a day, so not a connection we count.