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 Virt
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="U
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 wrote:
> On 05/10/13 23:25, Joseph wrote:
>
>> My computer time reported by asterisk server or php database is 6hr ahead.
>> Why
On 05/10/13 23:00, Manuel McLure wrote:
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.
When I set in: /etc/conf.d/hwclock
clock="UTC"
my server php and asterisk reporting correct clock setting by on my desktop
2013/5/11 Joseph :
> 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
On 05/10/13 23:00, Manuel McLure wrote:
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.
Yes, you are correct.
In php time zone setting:
/etc/php/apache2-php5.4/php.ini
...
date.timezone = Canada/Mountain
In aste
6 matches
Mail list logo