Re: Define the GMT ?
Thank aranworld, I will try this ! Cordially, Neveldo : http://www.neveldo.fr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Define the GMT ?
Re-hi, I've tried your solution. I'm working on WAMPServer 5. I tried to config the timezone by php.ini or .htaccess but it don't change the date() value or the created date when a insert new data with cake. Can you help me ? thank ! Cordially, Neveldo : http://www.neveldo.fr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Define the GMT ?
Ok, I think the simpliest way to do this is to define the GMT in the bootstrap file : Configure::write('gmt', 1); We can use it when displaying dates in views to take account of the GMT timezone. resolved :) Cordially, Neveldo : http://www.neveldo.fr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Define the GMT ?
Hi all, How we can take account of the timezone GMT ? For example, the fieds created and updated are based on the PHP function time() or the sql function NOW() ? What is the best way to define the timezone in a cakePHP application ? thank ! Cordially, Neveldo : http://www.neveldo.fr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Define the GMT ?
Go to PHP.net and search timezone. http://php.net/manual/en/ref.datetime.php#ini.date.timezone If you don't have access to php.ini, you can also set this value in an .htaccess file. On Mar 26, 2:05 pm, Neveldo [EMAIL PROTECTED] wrote: Hi all, How we can take account of the timezone GMT ? For example, the fieds created and updated are based on the PHP function time() or the sql function NOW() ? What is the best way to define the timezone in a cakePHP application ? thank ! Cordially, Neveldo :http://www.neveldo.fr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---