CodeIgniter Forums

Full Version: Error Message Date()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[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]
I cannot see your image. Can you copy/paste the error message?
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"
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