It should just be whatever the date is on the current instance. In general,
do not ever rely on dates to be synchronized. Clock skew is a reality of
distributed computing, and you'll have to work around it. What exactly is
the problem you're trying to solve?

On Sun, Jul 18, 2010 at 11:23 PM, Marcus Brody <[email protected]> wrote:

> Good day,
>
> I would like to ask about following.
>
> How is java.util.Date synchronized in case there is more than 1
> instance of my web application.
> Example:
>
> WebAppInstance01 : I create somewhere new Date()
>
> at the same time
> WebAppInstance02: I create somewhere  new Date()
>
> Is there some time shift ? Or those both app request some "central
> authority" ?
>
> Thank you,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to