Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB