title: Joda DateTime ISODateTimeFormat pattern
body: <p>The Joda <a href="https://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--" rel="nofollow noreferrer">ISODateTimeFormat</a> docs say <code>ISODateTimeFormat.dateTime()</code> returns a formatter for the pattern <strong>yyyy-MM-dd'T'HH:mm:ss.SSSZZ</strong></p>
  
  <p>But the formatter returns a "Z" in place of +00:00<br>
  see this-</p>
  
  <pre><code>DateTime dt = DateTime.now(DateTimeZone.UTC);
  
  DateTimeFormatter patternFormat = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZZ");
  DateTimeFormatter isoFormat = ISODateTimeFormat.dateTime();
  
  System.out.println(dt.toString(patternFormat));     //2014-06-01T03:02:13.552+00:00
  System.out.println(dt.toString(isoFormat));         //2014-06-01T03:02:13.552Z
  </code></pre>
  
  <p>Can anyone tell me what the pattern would be to get the +00:00 to print as a Z</p>
  
  <p><strong>Edit:
  Just to clarify- I know that the 'Z' is the same as +00:00 but textually it is different. What I am asking is what pattern would place a Z as the time offset instead of +00:00</strong></p>
  
  <p><em>(Sorry if this is too trivial. I wanted to use the ISO format without milliseconds and in the course of writing this question I found exactly what I was after in <code>ISODateTimeFormat.dateTimeNoMillis()</code> so I am asking now only for interests sake)</em></p>