How to format date in libre office
<p>I have a column of dates in a format below:</p>

<pre><code>Fri Dec 25 02:45:23 MYT 2015
Fri Dec 25 17:38:57 MYT 2015
</code></pre>

<p>How do I change it to a format as below:</p>

<pre><code>2015-12-25
2015-12-25
</code></pre>

<p>I have tried to format cells but it is not working. Any idea ?</p>