title: Convert date from YYYY-MM-DD to YYYY-MM-DDTHH:mm:ssZ
body: <p>I want to convert the following pattern to <code>yyyy-mm-ddThh:mm:ssz</code></p>
  
  <pre><code>         2017-feb-02
           2017-05-02
           2017-01-01 03:00:00
           2017-01-01 00:00:00.0
  </code></pre>
  
  <p>I have gone through SimpleDateFormat class of Java. But I coudn't able to achieve it.</p>