title: Changing the date format to mm-dd-yyyy hh:mm
body: <p>I'm trying to use this code:</p>
  
  <pre><code>private static Date getTimeStamp() {
      return new Timestamp(new Date().getTime());
  }
  </code></pre>
  
  <p>What I'm getting is <code>2013-03-13 12:46:22.011</code></p>
  
  <p>But what I need is that the timestamp should be in the format of <code>mm-dd-yyyy hh:mm</code>.</p>