2013/5/11 Joseph <syscon...@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.