title: JodaTime String yyyy-mm-ddThh:mmss.Z to DateTime
body: <p>hi i am using Joda time to convert my string dates to DateTime objects.</p>
  
  <p>I currently have the following string:</p>
  
  <pre><code>2014-02-16T00:17:20.000Z
  </code></pre>
  
  <p>how do i convert this to a DateTime object?</p>
  
  <p>I have tried:</p>
  
  <pre><code>DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ssZZZ");
          DateTime dt = formatter.parseDateTime("2014-02-16T00:17:20.000Z");
  </code></pre>
  
  <p>But i am getting the following error:</p>
  
  <pre><code>java.lang.IllegalArgumentException: Invalid format: "2014-02-16T00:17:20.000Z" is malformed at ".000Z"
  </code></pre>
  
  <p>Any help is greatly appreciated</p>