LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   time date problem (https://www.linuxquestions.org/questions/linux-software-2/time-date-problem-403008/)

matrixon 01-13-2006 02:35 PM

time date problem
 
hi im using gentoo linux and i have a problem i set the correct time and date but next time i turn on my machine the date and time are wrong again how can i correct this?

bosewicht 01-13-2006 02:57 PM

Type "date".
You should see

"Fri Nov 13, <wrong time> HST 2006"
To change the time type(as an example):

date -s 10:55
Then you'll see the correct time:

"Fri Nov 13, 10:55:17 HST 2006"
5. Then if you want to set the hardware(BIOS) clock so the system will keep the time when it reboots type:

clock -w

or

setclock


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