I had the same issue and now use gmdate everywhere.
Tested it on two servers in different timezones, and it worked
alright.

On Nov 23, 11:29 am, Jas <mciver.ja...@gmail.com> wrote:
> I'd like to know the best way to store records on a server in another
> country. Some of the users will be in other countries. when they view
> their own records (they cant see records of the other users) the dates
> need to display in their local timezone.
> I don't want to store the date as their local time incase they change
> their timezone.
>
> Part 2 of that problem is how to apply DST (Daylight Savings time)?
>
> Does this make any sense?
> How would you handle storing data in a common timezone and display it
> to the user as their preferred timezone?
>
> The main reason for this, is I think I'll be changing webservers and
> will most likely be in a different county. So the servers timezone
> shouldn't have any impact on the data.
>
> On Nov 23, 9:15 pm, Amit Rawat <rawatami...@gmail.com> wrote:
>
> > ok so whats your main problem?
>
>

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-...@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=.


Reply via email to