Reputation: 895
I realized that GAE datastore automatically converts the time to UTC time. It is somehow converted back when displaying on client side. However, when I get the time on server side, it is still using the UTC time.
I know in python we can use this utility http://timezones.appspot.com/ but my application was written in Java and it uses Objectify to communicate with appengine datastore.
Is there any Java classes that convert the UTC time back to EST time on the server side?
Upvotes: 2
Views: 506
Reputation: 9934
I believe you can use JodaTime (http://joda-time.sourceforge.net/) which is the default answer for most Java data questions.
Upvotes: 1