How to set default JVM TimeZone Programatically

TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
TimeZone.setDefault(TimeZone.getTimeZone("Europe/Sofia"));

References
https://stackoverflow.com/questions/2493749/how-to-set-a-jvm-timezone-properly

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.