public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: system time 6-hr. ahead
Date: Sat, 11 May 2013 22:29:57 +0300	[thread overview]
Message-ID: <kmm67h$utk$1@ger.gmane.org> (raw)
In-Reply-To: <20130511142353.GD28807@syscon7.inet>

On 11/05/13 17:23, Joseph wrote:
> On 05/11/13 09:56, Nikos Chantziaras wrote:
>> On 11/05/13 08:25, Joseph wrote:
>>> 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.
>>
>> Try setting Windows to use UTC time instead:
>>
>> http://crashmag.net/configuring-windows-7-support-for-utc-bios-time
>>
>> It's what I use here for years and never had a problem with it.
>
> I set: clock="UTC"
> Everything would work OK if I was able to set via user home directory
> ".bash_profile"
> TZ="Canada/Mountain"
>
> but this is not helping, my desktop time is still behind 6hr. (server
> programs are showing correct time though).
> Do I need to run an additional command after updating user
> ".bash_profile"?
> I just log OUT/IN but it is not reflecting my time zone.

The link I posted was about setting Windows to UTC time, not Linux.



  reply	other threads:[~2013-05-11 19:30 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 [this message]
2013-05-11  8:58 ` [gentoo-user] " Wang Xuerui

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='kmm67h$utk$1@ger.gmane.org' \
    --to=realnc@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