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 via email to