One way you can do it is log all times as UTC and then only convert them to local time upon display based on either a user's timezone or a timzone variable set in your cake app.
I have some basics going for timezones like this, but maybe somebody has a more robust solution?
On 7/18/06, seefai <
[EMAIL PROTECTED]> wrote:
Hi brother,
I am Andy from Malaysia and just a begineer to cakePHP.
I having a problem that when i try to save a Created/Modified date (By
Cake's Default) in to the database, i will get 8 hours delay of the
time, can i know how to solve it
Thanks
Best wishes,
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
- Re: Time Zone ? John Zimmerman [gmail]
- Re: Time Zone ? Chris Lamb
- Re: Time Zone ? ryanb006
- Re: Time Zone ? seefai
- Re: Time Zone ? seefai
- Re: Time Zone ? ryanb006
- Re: Time Zone ? Chris Lamb
