Hi everyone,

I'm writing a webapp with users residing in different timezones.

I tried using putenv and/or date_default_timezone_set, eg: "GMT". This
allows records inserted using the GMT timezone. However, I found out
when logging in with user with a different timezone, eg: "Asia/
Singapore", etc; records are not converted from GMT to "Asia/
Singapore". At least, the $scaffold feature does not do this.

What I would like to do is to store all dates in GMT, and when convert
to the appropriate timezone when displaying these records.  Is there a
facility provided by cakephp that automatically does this?

Or is there a better way to handle this situation?

Thanks and best regards,
- RC




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to