Click to See Complete Forum and Search --> : My time zone seems to be screwed :-(


Zoist
01-01-2001, 08:46 PM
Hello,

When my friend replies to emails I have sent to him, it says that I wrote the email 1 day ahead of when I sent it. So if I sent it the 2nd of Jan, the email would say January 3rd 12:58 pm you wrote:

I have set my system time properly, but still doesn't work.

Is there a secret file I can edit to make it set the correct time?
I'm using Red Hat 6.2 if this makes any difference.

Thank you! :-))

Ig0r
01-01-2001, 09:30 PM
I'm not sure about redhat, but I assume they have the same utilities.
As root run the program "tzconfig". It should prompt you to either enter a predefined zone or a GMT offset.

Zoist
01-01-2001, 09:48 PM
Damn. I don't seem to have that on my system.
Is there another program I could use?

Zoist
01-01-2001, 09:53 PM
I did timeconfig at the command line.
That worked. Thanks.

shad0w
01-01-2001, 09:56 PM
Try this too:

date --set "Mon Jan 1 24:24:24 TMZ 2001"

How it reads: "the day, the month, the date, the time [24hr], the timezone, the year"

Zoist
01-01-2001, 10:03 PM
Thanks shad0w :-))