Skip to content

Instantly share code, notes, and snippets.

@yblee85
Created April 29, 2014 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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