Setting the timezone for your Spring Boot app

1 · Sunit Katkar · Jan. 23, 2018, 7:40 p.m.
Purpose of this blog postToday all non-trivial web applications and web services get deployed in the cloud. One cannot be very sure in which time zone the app is deployed. But sometimes, the app needs to record everything like log statements, database CRUD operations, etc using a specific time zone. Usually using the UTC time zone works best for such applications.Setting the time zone This short blog post is a way to show how this can be achieved in a java application, specifically a Spring or S...