Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timezone
02-22-2013, 10:11 AM, (This post was last modified: 02-22-2013, 10:12 AM by bgone.)
#1
Timezone
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
02-22-2013, 09:25 PM,
#2
RE: Timezone
(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
02-23-2013, 09:30 AM,
#3
RE: Timezone
(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: 1 Guest(s)

Contact Us | LetoDMS Community Forum | Return to Top | | Lite (Archive) Mode | RSS Syndication