Mine was REALLY cloudy, and I couldn't afford to leave my fish out of the tank,
so after an hour I turned the filter on and did about 25 water changes over the course of another hour, with warm water because the sand really chilled the temp. It helped ALOT, but it was still cloudy.
I did it at 9:00 at night, the next morning at 7:00 it was crystal clear.