webERP Forum
Display wrong Time at webserver? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: Display wrong Time at webserver? (/showthread.php?tid=2033)



Display wrong Time at webserver? - Rajkamal - 01-15-2014 04:32 PM

I upload webERP at my web server, It display wrong Time, Time zone on my server is correct. a file attached please suggest me.

Thank You !


RE: Display wrong Time at webserver? - phil - 01-15-2014 04:42 PM

You can change the time-zone in the config.php file.
Code:
date_default_timezone_set('Pacific/Auckland');
putenv('TZ=Pacific/Auckland');

http://php.net/manual/en/timezones.php


RE: Display wrong Time at webserver? - Rajkamal - 01-15-2014 08:45 PM

Thank You Phil
Its working........


RE: Display wrong Time at webserver? - batool100 - 01-24-2014 05:41 PM

Wow its a great idea thanx for that...!