AA 627 then NZ 9628 at San Francisco
Miami → San Francisco → Salt Lake City
Timetable, San Francisco time
12:24AA 627 from Miami at the gatealso QF 3076, G3 6179
10:38NZ 9628 to Salt Lake City leaves the gate
22 h 14 apart on the timetable, overnight
NZ 9628 leaves 22 h 14 after AA 627 arrives on the timetable: more than half a day, so not a connection we count.