Re: Correct time at RedHAt
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: Tue, 28 Oct 2003 11:44:11 +0000 (UTC)
"Pipiron" <email@example.com> writes:
]I would really appreciate if someone could tell me how can I set Daylight
]savings time option under RedHat 9.0.
]I have selected time zone by selecting computer's physical location. In the
]other words I don't use time zone offset from UTC.
I do not know what you mean. If you mean that you do not run your
computer hardware clock at UTC but rather at localtime, then you are
screwed. Linux MUST assume that since you have told it the time is at
local time then that time is correct. It, it is then up to you to make
sure that local time really is correct (including daylight savings time)
Why would you keep your clock on local time? This is, if you are using
Linux, silly. If you use Windows a lot then maybe it is not silly.
Note that you can get almost everything you want with chrony, an npt
daemon. It will look at the offset or the real time clock from UTC and
store that. If you then start up chronyd next time you reboot, with
chronyd -r -s
it will use that estimation of the real time clock to correctly set the
Linux system clock. However if you are running Windows and it (as it is
wont to do) decides to "correct" the real time clock for daylight
savings, then of chrony does not know that the RTC has been screwed
around with and will take a while to understand that the clock suffered
that sudden glich.
Basically, If you run both windows and Linux and you want the clock to
be correct in windows, then it is up to you to keep track fo daylight
savings time and keep it up to date. Otherwise, just set the damn thing
to UTC and be done with it.
]Is there anything special which I should set to use Daylight savings time
No. It is included when you set your timezone if you set your RTc to UTC
(or use chrony to correct the RTC to UTC).
]Thanks in advance