Get Date As String and Remove Time in Javascript : <p>I have a simple problem. i need to get only the date as string and remove its time.
How can i do this? I tried new Date() but its not working.</p>

<pre><code>const value = '2018-04-09 00:00:00'
</code></pre>
