For PHP you need to set the date.timezone variable in the php.ini file - that should fix things. For asterisk I have no clue.
On Fri, May 10, 2013 at 10:31 PM, Joseph <syscon...@gmail.com> wrote: > On 05/10/13 23: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. >> > > I forgot to mention: > /etc/timezone > Canada/Mountain > -- > Joseph > > -- Manuel A. McLure WW1FA <man...@mclure.org> <http://www.mclure.org> ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft