Differences
This shows you the differences between the selected revision and the current version of the page.
troubleshooting:timezone 2008/10/22 15:06 | 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 12: | Line 17: | ||
* Connections/classifieds.php | * Connections/classifieds.php | ||
- | Keep in mind this will only change new dates and any already inserted in the database will be left the same. | + | Please see these links for further reference: |
+ | * http://us2.php.net/timezones | ||
+ | * http://us2.php.net/manual/en/function.date-default-timezone-set.php PHP > 5.2 | ||
+ | * http://www.theprojects.org/dev/zone.txt | ||
+ | <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.