Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2014, 08:51 AM   #1
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 248

Rep: Reputation: Disabled
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
Old 07-13-2014, 11:27 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting time and date / setting calendar format Kalbadus Linux - Newbie 1 05-15-2010 12:40 AM
Setting system date and time affecting the clock and date on BIOS satimis Ubuntu 7 09-21-2007 08:02 AM
setting time and date SVwander Linux - Newbie 3 11-25-2006 11:43 PM
setting date and time lynger Linux - Software 2 05-21-2004 12:10 AM
Setting Date and Time prich Linux - Newbie 3 12-16-2002 02:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration