Timezone Issue
Posted: Thu Apr 21, 2011 6:14 am
Hi,
I have set the Timezone in the PHP.ini file as follows:-
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Asia/Calcutta"
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
But when i PHP -info from the command prompt i get the following -
date
date/time support => enabled
"Olson" Timezone Database Version => 2010.15
Timezone Database => internal
Default timezone => Asia/Kolkata
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
Can you please tell me even after setting the timezone to Asia/Calcutta why it shows it as No Value. I am using IIS7
Thanks,
Tushar
I have set the Timezone in the PHP.ini file as follows:-
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Asia/Calcutta"
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
But when i PHP -info from the command prompt i get the following -
date
date/time support => enabled
"Olson" Timezone Database Version => 2010.15
Timezone Database => internal
Default timezone => Asia/Kolkata
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
Can you please tell me even after setting the timezone to Asia/Calcutta why it shows it as No Value. I am using IIS7
Thanks,
Tushar