Re: My time clock



Rajko M. wrote:
Vahis wrote:

Rajko M. wrote:

If you have dual boot system, than you have to use local time as setting,
not UTC + shift for CST.
This is if you have windows in your machine's OS:s.
If only *NIX they all use UTC just fine.


It is setting that tells operating system is there need to correct hardware
clock time before it will be used (displayed, included in log, etc), not
some magic related to Windows.

No magic, but as you say here:


Windows expects hardware clock to be set on local time and and there is no
way to change this.

This is exactly why the HW clock needs to be set to local time if
windows is involved. Windows is not designed to multiuser, this
is a living proof.

Linux can use UTC or local time, that is the reason to
set Linux to local time.

In the case of *nix dual (multi) boot, they all have to be set on the same,
local or UTC. If user doesn't change anything, all flavors that I tried
will consider that hardware clock is set to UTC (GMT).

They are designed for multiuser.

Utility used to adjust hardware clock is called adjtimex, and it's man page
has much more details.


*nix will show the time with corrected drift of the HW clock
which it will determine by experience and save to the drift file.

The HW clock can also be adjusted if needed by commanding (I'm
using pool server close to me there):

adjtimex --host fi.pool.ntp.org

After some time, a few hours or so:

adjtimex --adjust --review

Vahis
--
Sometimes I reply to top posters. Seldom. And usually just once.
http://waxborg.servepics.com/English/Linux/SUSE.10.1/suse10.1.html
SUSE Linux 10.1 Suomi:
http://waxborg.servepics.com/Linux/10.1/suse-10.1.html
.



Relevant Pages

  • Re: TOD Clock the same as the BIOS clock in PCs?
    ... I have been told that the TOD clock similar to the RTC/CMOS clock ... do they log their times in UTC time also? ... But, do they actually display the LOCAL TIME on the VTAM, ...
    (bit.listserv.ibm-main)
  • Re: [opensuse] Time Incorrect in New Installed opensuse 11.1
    ... you're given the choice of setting your hardware ... clock to UTC or local time. ... UTC, but actually use local time, your clock will be off by the ...
    (SuSE)
  • Re: [opensuse] Time Incorrect in New Installed opensuse 11.1
    ... you're given the choice of setting your hardware ... clock to UTC or local time. ... UTC, but actually use local time, your clock will be off by the ...
    (SuSE)
  • Re: [SLE] Daylight Saving time change?
    ... clock and can be read with "hwclock -r". ... and the result is presented to the system for use: display, ... correct UTC might be 3am but you can have it set to 9pm. ... All the system will do is apply local time zone offsets from its ...
    (SuSE)
  • Re: Inserting Calendar.Time in a database
    ... >> So should UTC clock. ... > appropriate time base - and we certainly don't want to insist that every ... That you can view a clock reading as ... quite often the precision required for clock synchronization of nodes ...
    (comp.lang.ada)