public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wang Xuerui <idontknw.wang@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] system time 6-hr. ahead
Date: Sat, 11 May 2013 16:58:03 +0800	[thread overview]
Message-ID: <CABK5mSZ8SdrPmE-TeA80YqoWaWEw+K+3fzDL3hBwmo2aX27BLQ@mail.gmail.com> (raw)
In-Reply-To: <20130511052541.GA28807@syscon7.inet>

2013/5/11 Joseph <syscon780@gmail.com>:
> My computer time reported by asterisk server or php database is 6hr ahead.
> Why?
>
> My desktop clock is correct, and command line "date" reporting local time as
> well.
> My /etc/conf.d/hwclock
> clock="local"
> clock_hctosys="YES"
> clock_systohc="YES"
>
> Should I set clock="UTC"? I'm running Windows via VirtualBox and I know
> windows is using "local" time.


You can make Windows use UTC by editing registry:
http://superuser.com/questions/185773/does-windows-7-support-utc-as-bios-time

However, do note that Windows would NOT update the hardware clock if
this is done. So make sure Linux would properly set the HW clock at
shutdown or your clock may drift over time.


      parent reply	other threads:[~2013-05-11  8:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-11  5:25 [gentoo-user] system time 6-hr. ahead Joseph
2013-05-11  5:31 ` Joseph
2013-05-11  6:00   ` Manuel McLure
2013-05-11  6:27     ` Joseph
2013-05-12  5:01     ` Joseph
2013-05-11  6:56 ` [gentoo-user] " Nikos Chantziaras
2013-05-11 14:23   ` Joseph
2013-05-11 19:29     ` Nikos Chantziaras
2013-05-11  8:58 ` Wang Xuerui [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABK5mSZ8SdrPmE-TeA80YqoWaWEw+K+3fzDL3hBwmo2aX27BLQ@mail.gmail.com \
    --to=idontknw.wang@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox