title: Using Joda time to get current wall time for a given Time Zone
body: <p>The requirement is to simply to get the current wall time (<strong>including the correct DST adjustment</strong>) for a given Time Zone.  </p>
  
  <p>There seems to be a few questions in SO hovering around this, but I can't seem to find a straight answer (in SO, Joda doco or googling) with a low friction way of getting the wall time. It seems like with the given inputs (current UTC time and desired TZ) I should be able to chain a couple methods from the Joda Time library to achieve what I want but there seems to be a desire in said examples to evaluate + handle offsets / transitions in application code - I want to avoid this if possible and just use Jodas best effort based on its set of static TZ rules available. </p>
  
  <p>For the purposes of this question, lets assume that I wont be using any other third party services (network based or other binaries), just what is available from the JDK and JodaTime library.</p>
  
  <p>Any pointers appreciated.</p>
  
  <p><strong>Update:</strong>
  This was actually a gaffe on my behalf. I had a <em>calculated</em> UTC offset based on the requests longitude, while this works obviously you still need regional information to get the correct DST adjustment..</p>
  
  <pre><code>double aucklandLatitude = 174.730423;
  int utcOffset = (int) Math.round((aucklandLatitude * DateTimeConstants.HOURS_PER_DAY) / 360);
  System.out.println("Offset: " + utcOffset);
  
  DateTimeZone calculatedDateTimeZone = DateTimeZone.forOffsetHours(utcOffset);
  System.out.println("Calculated DTZ: " + calculatedDateTimeZone);
  System.out.println("Calculated Date: " + new DateTime(calculatedDateTimeZone));
  System.out.println();
  DateTimeZone aucklandDateTimeZone = DateTimeZone.forID("Pacific/Auckland");
  System.out.println("Auckland DTZ: " +  aucklandDateTimeZone);
  System.out.println("Auckland Date: " + new DateTime(aucklandDateTimeZone));
  </code></pre>
  
  <p>prints</p>
  
  <pre><code>Offset: 12
  Calculated DTZ: +12:00
  Calculated Date: 2012-02-08T11:20:04.741+12:00
  
  Auckland DTZ: Pacific/Auckland
  Auckland Date: 2012-02-08T12:20:04.803+13:00
  </code></pre>
  
  <p>So here in sunny <a href="http://www.timeanddate.com/worldclock/city.html?n=22">Auckland, NZ</a> we are +12 but +13 in the DST period. </p>
  
  <p>My bad. Thanks for the answers nonetheless, made me see my mistake.</p>