Documentation

Features

Differences

This shows you the differences between the selected revision and the current version of the page.

troubleshooting:timezone 2009/03/11 14:10 troubleshooting:timezone 2009/03/12 10:01 current
Line 6: Line 6:
<code> <code>
ini_set('date.timezone', 'America/Los_Angeles'); ini_set('date.timezone', 'America/Los_Angeles');
 +</code>
 +
 +or
 +<code>
 +putenv("TZ=US/Eastern");
</code> </code>
Line 15: Line 20:
  * http://us2.php.net/timezones   * http://us2.php.net/timezones
  * http://us2.php.net/manual/en/function.date-default-timezone-set.php PHP > 5.2   * http://us2.php.net/manual/en/function.date-default-timezone-set.php PHP > 5.2
 +  * http://www.theprojects.org/dev/zone.txt
<note> <note>
Keep in mind this will only change new dates and any already inserted in the database will be left the same. </note> Keep in mind this will only change new dates and any already inserted in the database will be left the same. </note>

Have more questions? Visit our community forums.