Skip to content

Instantly share code, notes, and snippets.

@yblee85
Created April 29, 2014 14:19
Show Gist options
  • Save yblee85/11401762 to your computer and use it in GitHub Desktop.
Save yblee85/11401762 to your computer and use it in GitHub Desktop.
Java Jodatime set TImezone
//User Defined
DateTimeZone dtz = DateTimeZone.forID("America/New_York");
//System Default TimeZone
DateTimeZone dtzz = DateTimeZone.forID(TimeZone.getDefault().getID());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment