title: How to extract only date from moment object
body: <p>I am using moment object for date.
  and for that i wrote  </p>
  
  <pre><code>dateOnly = moment(date.format("MM/DD/YYYY"));
  var ndate = dateOnly.toDate();
  </code></pre>
  
  <p>I want to display only date on front end but it is showing me in this format that I don't want</p>
  
  <blockquote>
    <p>Mon Feb 22 2016 00:00:00 GMT+0530 (India Standard Time)</p>
  </blockquote>