-   Linux - Laptop and Netbook (
-   -   Changing the time on Slackware 9.1 (

bufu 12-19-2003 09:08 PM

Changing the time on Slackware 9.1
Sorry, new to linux, very new....yes a newbie.

Anyways, I installed Slackware 9.1 into my old Compaq Presario 1680 and well, I tired changing the wouldn't let me do something as simple as that. I tried "man date" and just the simple "date" parameters...but I can't seem to get it to work

Would someone please give me an example of what I will have to type in the terminal?


crabboy 12-19-2003 09:29 PM

It's been a long time since I havechanged the date by hand. Run the date -s command as root:

date -s "Dec 19 22:28:00 2003"
Or if you are connect to the internet you can set the time from a timeserver:


bufu 12-19-2003 09:42 PM

ty...i got it =)

hypexr 12-20-2003 06:00 AM

A little more info to share
Here is a little more info on the matter of changing the time zone, date, and using NTP to keep the time on track. Cheers

Shade 12-23-2003 11:32 PM

i usually just use something like :

date 12230029
Which would set it to 12:29 am, 12/23

Month, day, hour, minute.



hypexr 12-24-2003 12:54 AM

Yes, but as stated in the linked page above that does not change the time in the hardware clock. you also need to use the hwclock command or you will have to use the date command everytime you restart your computer.

All times are GMT -5. The time now is 09:07 AM.