I guess problem is that after deploying to GAE, any try will retrieve
the time zone
information *on the Google Servers*! Google can't find out what
timezone
your local developer box is located in.

Aron

On Sep 2, 1:08 pm, le anh <leanhduc1...@gmail.com> wrote:
> On Sep 2, 2:24 pm, leszek <leszek.ptokar...@gmail.com> wrote:
>
> > If you delete double declaration (String formattedDate) and add proper
> > imports and declaration  'Calendar cal = Calendar.getInstance()); it
> > should work.
> > But you are having this problem while running in local  environment
> > (in your machine) or it does not work after deploying to google
> > (production) environment ?
>
> It's also not correct when I change " Date date=new Date() " to
> Calendar cal = Calendar.getInstance(). They are same result.
>
> The code does not work correct after deploying to google (production)
> environment , meaning it does not work in Web Application Project of
> 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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to