Convert CURRENT_TIMESTAMP to only Y-m-d : <p>I have a column named "timestamp" in my DB with datatype <code>timestamp</code> and standard <code>CURRENT_TIMESTAMP</code>.</p>

<p>When I echo it (<code>echo $row['timestamp'];</code>) i get this:</p>

<pre><code>2016-01-18 21:06:37 
2016-01-19 12:32:16 
2016-01-19 20:52:41
</code></pre>

<p>But I want it to turn out like this:</p>

<pre><code>2016-01-18
2016-01-19
2016-01-19
</code></pre>

<p>How should I do that? <code>Strftime</code> or something?</p>
