It is not a problem of CakePHP, if you want php considers as default the GMT timezone add
date_default_timezone_set('UTC'); in bootstrap.php file. On Dec 7, 7:20 pm, Josh K <joshkrae...@gmail.com> wrote: > When CakePHP automatically updates the modified and created columns > (http://book.cakephp.org/view/69/created-and-modified), it uses the > server's timezone, and not the GMT timezone (i.e - gmdate(), etc.). > Why is this? > > If I were to move to a server in a different timezone, I would have to > adjust any timezone offset calculated from the modified and created > columns. > > Is there are way around this problem without editing the core CakePHP > files? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en