title: Format date time JavaScript
body: <p>How to format date and time like this in JavaScript ?<br></p>
  
  <blockquote>
    <p>March 05, 2012 @ 14:30 (UTC - 9:30)</p>
  </blockquote>
  
  <p>I use this code to calculate EST time :</p>
  
  <pre><code>function getDate() {
      var now = new Date();
    var  utc = now.getTime() + (now.getTimezoneOffset() * 60000);
  
      return new Date(utc + (3600000 * -4));
  }
  </code></pre>