title: How can remove time from Date string
body: <pre><code>var x = new Date();
  myVar = x.toString();
  document.write(myVar);
  // Sat Feb 14 2015 14:20:58 GMT+0100 (CET)
  </code></pre>
  
  <p>I want to remove the time &lt;&lt;14:20:58 GMT+0100 (CET)>></p>