changing the time in slackware
After daylight savings time my clock went ahead two hours instead of one and i must set it back one. I realized i don't even know how to set the time in slackware :( I did some research and apparently you can do it with date command but i couldnt get the syntax right. I tried date %l and the respective number one less than the current hour, and apparently thats not correct. Any help?
|
Use
Code:
info date |
Well for anyone else who might be wondering what to do, you use the -set flag on date and then type in the corresponding time while logged in as su. The current time before changing was 2:14 in the afternoon, so i typed the following command while logged in as su.
date -set 13:14 which took care of it. Not sure what %l really is for but its not this. Thanks for the help. |
The alternative, as root is:
date MMDDhhmm (Month Day Hour Minute) |
All times are GMT -5. The time now is 11:44 PM. |