How to set your date on a linux machine

I have been skimming through a lot of linux books and yet not even one was able to tell me how to set the time. I mean the popular books online. I later found out that the way to set the date is by the following way:

% date -s  “11:58”

By the way you have to be root or else use sudo