Translations of this page?:

Setting TimeZone

To set the correct timezone edit conf/local.protected.php1) and add the line:

putenv("TZ=GMT");

If you use php5:

date_default_timezone_set("GMT");

Note: Replace GMT with your specific timezone. You can find a list of timezones here: http://www.theprojects.org/dev/zone.txt
That is to say, if you live in Danemark : DK +5540+01235 Europe/Copenhagen, so you need to replace GMT by “Europe/Copenhagen”.

1) if you modify conf/local.php, your changes will be lost when you configure via the GUI
 
tips/timezone.txt · Last modified: 2008/10/20 11:09 by 86.68.104.221
 

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate