Error Message Date() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Error Message Date() (/showthread.php?tid=69292) |
Error Message Date() - ojhanismee - 11-01-2017 [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? RE: Error Message Date() - PaulD - 11-01-2017 I cannot see your image. Can you copy/paste the error message? RE: Error Message Date() - jreklund - 11-01-2017 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" RE: Error Message Date() - bennyrinaldi - 11-02-2017 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 |