9 a.m. update: The dense fog advisory has been extended until noon, the National Weather Service said.

Previously reported: York County and the rest of central Pennsylvania are under a dense fog advisory until 9 a.m. Wednesday.

Visibility is down to a quarter mile or less in some spots, according to the National Weather Service. Motorists are advised to slow down and use low-beam headlights or fog lights.

Some areas will also see slippery roads as freezing fog creates black ice, the NWS said.

Once the fog clears, York will have a partly sunny day, with a high of 44 and low of 29, the forecast said.

There's a slight chance of rain Wednesday evening and rain and snow later, the service said.

Thursday will begin with clouds and become sunny, with a high of 38 and low of 27, the forecast said.

Friday will be partly sunny, with a high of 43 and low of 25, and Saturday and Sunday will be sunny, with highs in the low 30s and lows near 20, the NWs said.

Monday will be sunny, with a high of 44 and low of 29, the forecast said.