title: Javascript remove hours mins from NewDate
body: <p>I'm doing </p>
  
  <pre><code>    const thisMonth = new Date().getDate()
  </code></pre>
  
  <p>and it returns</p>
  
  <pre><code>   "2018-01-11T14:00:00.000Z"
  </code></pre>
  
  <p>So the question is how to remove all </p>
  
  <pre><code>       T14:00:00.000Z
  </code></pre>
  
  <p>i tried to use slice but it doesnt work, would highly apprecaite your help, tried to do everything i can and searched the web to find answers, if this post is a dubplicate and has been asked already please refer me to that thread, i tried to search but didnt find anything</p>