LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-21-2002, 08:59 AM   #1
jimval7
Member
 
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, 11:42 AM   #2
Sixpax
Member
 
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, 03:04 PM   #3
jimval7
Member
 
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!

 
  


Reply



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 09:58 PM
Time Zone, Clock, Nothing is Right pzorn Linux - General 1 10-31-2003 02:31 AM
Clock keeps going out of time linksocc Linux - General 10 10-01-2003 08:05 AM
Clock not keeping time Culbert Linux - Software 3 03-15-2003 06:15 PM
Mandrake time clock descentx13 Linux - General 2 05-27-2002 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 04:28 AM.

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