VA 8388 then UA 2312 at San Francisco
Washington → San Francisco → San José (Costa Rica)
Timetable, San Francisco time
01:29VA 8388 from Washington at the gate
00:08UA 2312 to San José (Costa Rica) leaves the gate
22 h 39 apart on the timetable, overnight
UA 2312 leaves 22 h 39 after VA 8388 arrives on the timetable: more than half a day, so not a connection we count.