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 1: Replace GMT with your specific timezone.

You can find a list of timezones here: http://us.php.net/timezones
That is to say, if you live in Danemark : DK +5540+01235 Europe/Copenhagen, so you need to replace GMT by “Europe/Copenhagen”.

Note 2: Make sure to put the modification after ”<?php” if it was already there or just add it like this:

<?php
date_default_timezone_set("GMT");
1) if you modify conf/local.php, your changes will be lost when you configure via the GUI