(Psychological / emotional perspective)
Sand in a dream suggests a degree of instability and lack of security. When sand and sea are seen together we are not feeling particularly emotionally secure. When the sands are shifting we are probably unable to decide what we require from life.
If we are conscious of the sand in an hourglass we are aware of time running out; we perhaps need to be certain we are making best use of our resources.