In Linux you have the system clock and the hardware clock. The system clock is the clock of your motherboard that can be set in the bios setup.
To set the system clock, the command is: date mmddhhmmyyyy To set the hardware clock, use the command: hwclock --set --date="mm/dd/yyyy hh:mm:ss" To set the system clock from the hw clock: hwclock --hctosys To set the hw clock from the system clock: hwclock --systohc Consult "man date" and "man hwclock" for more details. On 4/1/06, Jim <[EMAIL PROTECTED]> wrote: > On Sun, 2006-04-02 at 03:20 +0200, Daniel Waeber wrote: > > hi > > > > i have a problem with changing the time/date of my computer. I only can > > change it temporally till the next reboot. I tried date and ntptime to > > set it. after setting it the system shows the right time, but after a > > reboot i have the old time again. i have no other system running on the > > computer that could change the time, so it is a problem with > > linux/gentoo. do i somehow have to finalize the setting? > > > > thanks in advance ! > > Edit /etc/conf.d/clock and set CLOCK_SYSTOHC to "yes". This will sync > your hardware clock to your system time when you shutdown/reboot. > > Jim > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance? > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Florida, USA, Earth, Solar System, Milky Way > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list