Re: How to set timezone



On Wed, 18 Jul 2007 12:22:48 -0000, dbansal
<bansal.dk@xxxxxxxxx> wrote:


Hi all,

Can somebody help me in setting timezone in Linux kernel using C
programming. I am able to set time value but not timezone.

Write it to /etc/timezone or set the environment variable TZ. On an
IBM-compatible system, you might also need to set UTC depending whether
the CMOS clock is set to UTC or local time. On Debian systems UTC is
set in /etc/default/rcS.


--
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340
.



Relevant Pages

  • Re: How to set timezone
    ... Can somebody help me in setting timezone in Linux kernel using C ... programming. ... I am able to set time value but not timezone. ...
    (comp.os.linux.development.system)
  • How to set timezone
    ... Can somebody help me in setting timezone in Linux kernel using C ... programming. ... I am able to set time value but not timezone. ...
    (comp.os.linux.development.system)