Setting Timezone in CakePHP
When looking over my friend Tony Milne’s shoulder as he worked on his new blog built in CakePHP, we ran into the issue of our server being hosted in the US so comment timestamps were being given dates based on the current US date/time. To change the timezone CakePHP uses just place the following in your bootstrap.php
// place in app/config/bootstrap.php
// Australia Daylight Saving timezone
putenv('TZ=AEDT');
