LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting date/time (https://www.linuxquestions.org/questions/linux-newbie-8/setting-date-time-4175510965/)

battles 07-13-2014 08:51 AM

Setting date/time
 
I just set my server date/time to my local time. Does this instruction that resets the date/time in the non-volatile (CMOS) memory still work with Debian?

hwclock --systohc

bigrigdriver 07-13-2014 11:27 AM

Setting the date and time is a two step process.

Step 1: use the date command to set date and time.

Step 2: use hwclock to set the date and time in the hardware clock.


All times are GMT -5. The time now is 10:35 AM.