It will be sunny with highs in the low 90s today, but not necessarily a great day for the beach.

The National Weather Service in Charleston warns that dangerous rip currents and large surf are expected through Friday while Hurricane Earl passes off-shore.

The risk of rip currents is highest between 8 a.m. through tonight, and will only get worse as the hurricane gets closer. A high surf advisory has been issued from midnight tonight to 6 a.m. Friday. The National Weather Service says the rip currents are life-threatening and no one should enter the surf when there is a high risk.

Anyone caught in a rip current should not panic. Swimmers should remain calm and swim parallel to shore until they are out of it. Swimming directly against a rip current can quickly exhaust even a strong swimmer, according to the weather service.

Temperatures will fall to about 69 degrees tonight. It's expected to be sunny with highs in the low 90s again Thursday.