Re: How to set timezone



On Jul 19, 1:48 am, el...@xxxxxxx () wrote:
In article <1184761368.517903.128...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,

dbansal <bansal...@xxxxxxxxx> wrote:
Can somebody help me in setting timezone in Linux kernel using C

Why would the kernel care cabout the timezone?

Because some filesystems track times in local time and the kernel's
main time reference is in UTC. So to generate and understand those
times, the kernel needs to know the current offset between local time
and UTC time.

DS

.



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: Best practice for TOD clock
    ... One GREAT reason for using UTC time with local time ... > local applications that log with local time) for one hour in the fall. ... > duplicate timestamps if the timestamps are using UTC time. ... If "the meridian" you mention is the Greenwich meridian, ...
    (bit.listserv.ibm-main)
  • Re: [SLE] NTP Server - US Daylight Savings Time
    ... >> I run an ntp server for the pc's connected to my home network. ... It has to continue giving UTC time, ... and the correct local time above is 0:53:47 ... ... implementation of NTPD, ...
    (SuSE)