Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Here is datetimectl output, Why local time is not set to Universal time? And I have enable ntpd service. The local time should be Sun 2013-08-11 21:45:21 UTC.

     Local time:  Mon 2013-08-12 05:45:21 CST
  Universal time: Sun 2013-08-11 21:45:21 UTC
        RTC time: Sun 2013-08-11 21:45:21
        Timezone: Asia/Shanghai (CST, +0800)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: n/a

By the way , My pc is equiped with dual System(archlinux/win7).

share|improve this question
1  
It's hard to know what's wrong without knowing when those time stamps were taken. Can you provide what you expect local time to be? –  user606723 Aug 11 '13 at 14:05
    
Everything seems ok: UTC Sunday 21h -> Local time (+8h) Monday 5h. What local time do you expect? –  Nicolas Aug 11 '13 at 20:23
    
The UTC time is the right time in my time zone. –  jilen Aug 12 '13 at 11:08
    
@Nicolas Do you mean the UTC time is not correctly? It should be 8 hours before? –  jilen Aug 12 '13 at 11:12
    
@jilen I don't know if your UTC time is good or not (just compare on internet to be sure). I just want to say, as you choose the Asia/Shangai timezone your localtime will be equal to the UTC time +8H –  Nicolas Aug 12 '13 at 11:18

2 Answers 2

up vote 1 down vote accepted

This problem might be related to this. You need to setup your bios.

share|improve this answer
    
Now, I erase the entire disk, and time is correctly. –  jilen Aug 18 '13 at 16:50

First of all you have to be sure of your TimeZone. If it's well Asia/Shanghai, you will have a different of +8 hours between the UTC and your local time.
It's normal, UTC time means universal time: the same for everyone. Although local time is the time of your country/city and it depends where you live.
So, only the people who live near the Greenwich meridian (+0H) have the same UTC and local time.
In my understanding, your time system works well. You misunderstood what UTC and local time are.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.