I am doing date/time comparision in the browser between objects from the
server that contain a date/time with the current date/time.
As such when the current date/time in the browser isn't correct, the
comparision will fail in the browser.
You understand ?
For example, snippet running in the browser:
if (objFromServer.getActiveDate() > getCurrentDate) {
// action
}
So the current date must be correct.
On Tue, Aug 10, 2010 at 6:29 PM, Jeff Chimene <[email protected]> wrote:
> On 08/10/2010 02:21 AM, Ed wrote:
> > I do date/time comparision in the browser and I can't assume that the
> > browser date/time is correct so I think I have to synchronize the date/
> > time on the server with that on the browser as I know the server date/
> > time is correct.
> >
> > Anybody any experience with that? or Idea's?
> >
> > I was thinking about retrieving the date/time from the server at
> > startup of the app and then calculating the difference with that of
> > the browser and add that as offset each time the date/time is
> > retrieved in the browser.
> >
> > But what about different timezones?...
> > Suppose somebody opens my website in another timezone, how does this
> > effect the date/time that comes from the server. how is that seen in
> > the browser? Hmmmm I am a bit lost here.
> >
> > Please some advice?
> >
>
> What problem are you trying to solve?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.