From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 03ED41381F3 for ; Sat, 11 May 2013 14:23:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7553EE0881; Sat, 11 May 2013 14:23:25 +0000 (UTC) Received: from mail130c7.megamailservers.com (mail130c7-2520.megamailservers.com [69.49.98.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A781E085E for ; Sat, 11 May 2013 14:23:24 +0000 (UTC) X-POP-User: admin.sys-concept.com Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail130c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id r4BENMZv014213 for ; Sat, 11 May 2013 10:23:23 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 01BCB2006F8; Sat, 11 May 2013 08:23:53 -0600 (MDT) Date: Sat, 11 May 2013 08:23:53 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: system time 6-hr. ahead Message-ID: <20130511142353.GD28807@syscon7.inet> References: <20130511052541.GA28807@syscon7.inet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=1.1 cv=hX8lmS6NL5CkkdgsJ6XLwU2TQXAms1CUrFMuEPEYwto= c=1 sm=1 a=wom5GMh1gUkA:10 a=ic12MOjmdUwA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=vat75Au3AAAA:8 a=AJLeEeH4JhUhbIT9Hf4A:9 a=wPNLvfGTeEIA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A02020A.518E545B.00CB,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Archives-Salt: a6e8dfa2-c191-46f2-8c20-04f0bdf5810d X-Archives-Hash: e7e4a4d47dc67e9f400014adf3f8483c 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. -- Joseph