The good news is if you don't struggle against the current you should be able to stay afloat for a couple hours, long enough for help to arrive
Rip tides pull out, so let them pull you past the break then swim side to side. You shouldn't need more than 15-20 min to get past the worst of it, and can work laterally to inbound waves.