Re: UTC time

From: Bruno Hertz (brrhtz_at_yahoo.de)
Date: 03/31/05

  • Next message: Peter Clarke: "Re: Tomcat: Refused localhost:8080"
    To: debian-user@lists.debian.org
    Date: Thu, 31 Mar 2005 16:36:12 +0200
    
    

    Fred Blaise <fred.blaise@excilan.com> writes:

    > Hello
    >
    > I am trying to set my servers to UTC time using the tz tools.. however:
    > -
    > Universal Time is now: Thu Mar 31 09:28:52 UTC 2005.
    > -
    > is my server answer. UTC though is 10:28:52... not 9.
    > (http://www.timeanddate.com/worldclock/)
    >
    > What's the deal here? What should I do to set the clock to the real UTC?
    > After installing ntpd and synced to pool.ntp.org, my clock still shows
    > the wrong UTC.
    >

    Don't know what precisely you want to achieve, but system time usually
    depends on two factors:

    * hardware clock, and whether it is UTC or localtime
    * time zone, which basically specifies an offset from UTC

    So, if e.g. you want to set your hardware clock to UTC instead of localtime,
    use the hwclock command with --utc option (man hwclock, /etc/adjtime).

    If you even want system time to be UTC, just choose a timezone with offset
    0 from UTC (don't know, Ireland? Iceland? ...) with the tz tools.

    If all that is not what you want, maybe you could give further details.

    Regards, Bruno.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Peter Clarke: "Re: Tomcat: Refused localhost:8080"

    Relevant Pages

    • Re: Date/Time setting
      ... Both Windows and Linux use UTC for timestamps. ... difference is, in Windows you set the hardware clock to your local time, ...
      (Fedora)
    • Re: Date/Time setting
      ... Both Windows and Linux use UTC for timestamps. ... > difference is, in Windows you set the hardware clock to your local time, ...
      (Fedora)
    • Re: [opensuse] Time problems after upgrade to openSUSe 10.2
      ... "UTC" and actual time and date is set to 13:36. ... Easiest from my perspective would be to change the hardware clock in YaST to ... How do I tell ntpdate to update to LOCAL time, ... If I could fix that, it would fix all but the Evo calendar time ...
      (SuSE)
    • Re: fsck Fails On Reboot After Partially Completed Testing Upgrade
      ... On Sun, 08 Jan 2006, Debian User Leonard Chatagnier wrote: ... My time zone is CST, ... To change your HARDWARE clock to UTC: ... Just placing the hardware clock in UTC is enough. ...
      (Debian-User)
    • Re: [SLE] Daylight Saving time change?
      ... I wanted, which is local time. ... Unix systems generally set the hardware clock to UTC. ... Notice that the time displayed to the user is not the system time. ...
      (SuSE)