Craft a bed, then use it. Right-click or press your use key while standing next to it and the game skips forward to morning.
Two conditions apply. It has to be night or a thunderstorm for sleeping to do anything, and in multiplayer every player needs to be in a bed at the same time — otherwise the night runs its course. Beds also set your respawn point, which is reason enough to place one early.