Thanks for the reply. What about in development server? Can we change the app-engine time zone in development server? Because we want to test date behavior for different time zones and we are facing the difficulties in testing the different time zone dates.
On Sunday, March 5, 2017 at 3:44:33 AM UTC+5:30, Adam (Cloud Platform Support) wrote: > > The timezone in App Engine is always set to UTC and cannot be changed. > You'll need to convert between UTC and the timezone you wish to use. You > can refer to one of the numerous existing threads > <https://www.google.ca/search?q=app+engine+set+timezone> on the subject > for more background. > > On Friday, March 3, 2017 at 11:48:41 PM UTC-5, Yashavanta S B wrote: >> >> Hey, >> >> In ServletContextListener initialization method we are setting the JVM >> Time Zone as >> >> public void contextInitialized(ServletContextEvent event) { >> TimeZone.setDefault(TimeZone.getTimeZone("GMT+00:00")); >> } >> >> But when i check the Time Zone information in servlets and filters the >> Time Zone got changed. >> >> log.info("TimeZone : " + TimeZone.getDefault()); >> >> What might be the reason? >> >> Thanks >> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6926dc41-07a9-4e0c-b122-24ebcb6d4300%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.