title: error convert this data to date("HH:mm a"),("dd MM") and ("yyyy").how to divide it into sections :D
body: <p>error(java.text.ParseException: Unparseable date: "Nov  2 2017 09:44:00:000AM")</p>
  
  <p>This is my code i use this on fragment 
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>String tanggal = dataObject.getString("tgl_periksa");
  DateFormat readFormat = new SimpleDateFormat("MM dd yyyy HH:mm:ss:SSSa");
  
  DateFormat writeFormat = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");
  Date date = null;
  try {
       date = readFormat.parse( tanggal );
  } catch ( ParseException e ) {
    e.printStackTrace();
  }
  String formattedDate = "";
  if( date != null ) {
     formattedDate = writeFormat.format( date );
  }</code></pre>
  </div>
  </div>
  </p>