title: Add colon to 24 hour time in Java?
body: <p>I have a date in the format <strong>MM/DD/YYYY</strong> and time in the format <strong>HHMM</strong> (24 hour time w/o the colon).  Both of these strings are in an array.  I would like to store this as one string - maybe something like <strong>"MM-DD-YYYY HH:MM"</strong> - and then be able to convert it to a written date like <strong>"January 1, 2014 16:15"</strong> when I am showing it to the user.  How can I do this?</p>
  
  <p>This is the code that I have:</p>
  
  <pre><code>String date = "05/27/2014 23:01";
  Date df = new SimpleDateFormat("MM/DD/YYYY HH:mm").parse(date);
  System.out.println(df);
  </code></pre>
  
  <p>However this is what I get: "Sun Dec 29 23:01:00 EST 2013"</p>
  
  <p>The output I am looking for is: "December 29, 2013 23:01"</p>