title: Java / convert ISO-8601 (2010-12-16T13:33:50.513852Z) to Date object
body: <p>How to parse a String in <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwj3v-75kKjTAhXINiYKHbghDUsQFgglMAA&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FISO_8601&amp;usg=AFQjCNHiu7VQuZb3qSt_mWulsOWb3eWa_g&amp;sig2=v1HyXyVwFQmEVhDJIliFSg" rel="nofollow noreferrer">ISO 8601</a> format with Zulu time?</p>
  
  <pre><code>javax.xml.bind.DatatypeConverter.parseDateTime("2010-12-16T13:33:50.513852Z")
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>IllegalArgumentException: '2010-12-16T13:33:50.513852Z' weist ein falsches Format auf.
  </code></pre>
  
  <p>Which mean something like wrong format, anyone have a clue what iss wrong in here?</p>