• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Message Date()

#1
[img]file:///E:/Capture.PNG[/img]Greeting from Indonesia.. 

Sorry for my bad English.I have an error message related to date(). does anyone know what's wrong? [Image: open?id=0BwNIU4hpNNhXYUdRcUg3bHIwd0E][Image: open?id=0BwNIU4hpNNhXYUdRcUg3bHIwd0E]
Reply

#2
I cannot see your image. Can you copy/paste the error message?
Reply

#3
You haven't specified a timezone. In your php.ini, look for date.timezone and change it into a correct value. All values can be found here:
http://php.net/manual/en/timezones.php

Code:
date.timezone = "Europe/Stockholm"
Reply

#4
Just use this as your time zone
date_default_timezone_set ("Asia/Jakarta");
in root index.php file and also call date Helper in config.php file
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.