title: JodaTime : How to get ISO formatted time from DateTime object?
body: <p>I'm getting DTO using the Joda:</p>
  
  <pre><code>dateTimeObj = new DateTime();
  </code></pre>
  
  <p>I would like to convert this DTO to formatted string in ISO format:</p>
  
  <pre><code>2016-03-06T11:30:00-05:00
  </code></pre>
  
  <p>I tried it using the:</p>
  
  <pre><code>dateTimeObj = new DateTime().toDateTimeISO();
  </code></pre>
  
  <p>But without the luck. </p>
  
  <p>How can i do it in the right way please?</p>