Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 03-21-2002, 09:59 AM   #1
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Rep: Reputation: 16
Question time clock

I'm in central time zone, which is -6, I never had a problem with my time zone, when I had RH 6.2. But I upgraded a to 7.0 2months ago and I noticed that my time is one hour ahead, which is eastern time. I've manually set my time correctly but it goes back to eastern.

HOW can i tell my machine that im in central time zone?
Old 03-21-2002, 12:42 PM   #2
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
probably "man timeconfig"

If it's just an out of sync clock, you might want to look at "man hwclock".
Old 03-21-2002, 04:04 PM   #3
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Original Poster
Rep: Reputation: 16
Thumbs up Got it fixed

Ok, I got it fixed and hopefully this problem won't return, Below are the steps I did:

I set the date to the correct time:
date 03211323 <-- this set my date and time to mar 21 1:23pm

Then I checked hwclock by doing:
hwclock --show

Then I had set the hwclock to what the system has:
hwclock --systohc <-- this command sets your hwclock to what your OS is set to.

I've been checking the time for a few hours now and everything looks good, We'll see how it goes when the day changes at 00:00.01 tomorrow. Thanks Sixpax!



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
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 10:58 PM
Time Zone, Clock, Nothing is Right pzorn Linux - General 1 10-31-2003 03:31 AM
Clock keeps going out of time linksocc Linux - General 10 10-01-2003 09:05 AM
Clock not keeping time Culbert Linux - Software 3 03-15-2003 07:15 PM
Mandrake time clock descentx13 Linux - General 2 05-27-2002 08:42 PM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 04:34 PM.

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
Open Source Consulting | Domain Registration