Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timezone
#1
Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks
Reply
#2
(02-22-2013, 10:11 AM)bgone Wrote: Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks

Set your time zone in php.ini.

Uwe
Reply
#3
(02-22-2013, 09:25 PM)steinm Wrote:
(02-22-2013, 10:11 AM)bgone Wrote: Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks

Set your time zone in php.ini.

Uwe

Thanks/Danke Uwe, the issue is fixed
Reply


Forum Jump:


Users browsing this thread: