WN 2398 then UA 597 at San Francisco
Las Vegas → San Francisco → Bozeman
Timetable, San Francisco time
13:25WN 2398 from Las Vegas at the gate
12:00UA 597 to Bozeman leaves the gatealso NZ 9435
22 h 35 apart on the timetable, overnight
UA 597 leaves 22 h 35 after WN 2398 arrives on the timetable: more than half a day, so not a connection we count.