Re: Setting time zone

2007-03-26 Thread Grant Cox
What version of PHP, and what OS? As far as I am concerned, dealing with timezones on PHP4 and Windows is just too much trouble - the timezones need to be in a windows specific format ( http://bugs.php.net/bug.php?id=22418 ) rather than the common TZ format. If you have PHP5, just use date_defa

Setting time zone

2007-03-26 Thread squidliberty
I live in the south-eastern US and I'm storing timestamps in my database. I need date() to reflect my time zone when viewing this data. Without access to php.ini, how can I do this for CakePHP? Ive tried adding putenv("TZ = America/New_York"); and ini_set("date.timezone","America/New_York"); in c