Hi,

I have a java.util.Date data type in my object. 

Date now = Calendar.getInstance(TimeZone.getTimeZone("America/Los_Angeles"), 
Locale.US).getTime();
When I persist the object and look at the entity, I see the type stored as 
"gd:when" as the kind of element. 

I see the value as 2012-01-25 01:01:37.938000 which is UTC time. 

How can I save the time in my desired timezone? The java Date type has no 
timezone setting explicitly and appengine only allows java.util.Date as a 
valid date type from java. 

Thanks
Neeli 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/__Q5MEGh6jwJ.
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