Re: Best practice for TOD clock



In a recent note, Wayne Driscoll said:

> Date: Thu, 10 Nov 2005 07:54:37 -0600
>
> DB2, like most IBM products these days (and a vast majority of other
> vendors) ONLY care about the UTC (which has replaced, and is more precise
> than GMT) time, especially for log records. For example, the bind timestamp
> (consistency token) is generated via the STCK machine instruction, which
> returns the UTC time. One GREAT reason for using UTC time with local time
>
Ummm. Not exactly. For the recommended setting of the TOD clock, STCK
returns not UTC, but IAT - 10 seconds. I recognize that this is
dependent on the choice of representation, but for the most simply
described representation it's IAT - 10 seconds.

> offsets is that you don't need to bring your system down (unless you have
> local applications that log with local time) for one hour in the fall.
> Since the UTC is always increasing, there is no possibility of getting
> duplicate timestamps if the timestamps are using UTC time. HOWEVER: (and
> this may be a BIG issue) If you are geographically located West of the
> meridian, when you convert over to UTC time, you will need to be down for
> the number of hours west you are, in order to prevent duplicate timestamps
>
If "the meridian" you mention is the Greenwich (or Prime) meridian,
the difficulty occurs east of the meridian, not west.

-- gil
--
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: [SLE] NTP Server - US Daylight Savings Time
    ... the system gives you the local time, calculated from the UTC time + ... depending on their local adjustments: ... Dos/windows expect the CMOS clock to be at local time instead... ...
    (SuSE)
  • Re: How convert GMT to LocalTime in Access 2003
    ... Dim udtTZI As TimeZoneInfo ... 'The bias is the difference, in minutes, ... 'between UTC time and local time. ...
    (microsoft.public.access.queries)
  • How to translate from UTC/GMT time to local time?
    ... The problem with translating those times to a local time is that one does not know for each UTC time whether the local time at that same moment had daylight savings time in effect. ... If one subtracts DiffFactorHours from a UTC time one will get one's local time. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [opensuse] Panel problems
    ... The date command, by default, shows local time. ... I think it can also be used to set utc time. ... set it in the bios myself first. ...
    (SuSE)