Java Ninja Chronicles By Norris Shelton

Things I learned in the pursuit of code

If you JVM is showing the wrong time, it may be because it is picking up the wrong timezone. Specify the following to fix it:

-Duser.timezone=”America/Louisville”

September 12th, 2012

Posted In: Java, Joda-Time

Tags: , ,

Leave a Comment

WP to LinkedIn Auto Publish Powered By : XYZScripts.com