This question already has an answer here:
I am using the followup procedure to display date from mysql tabe:
<? echo $rrow[encoded_date]; ?>
Now the format of encoded_date cell is: 2013-03-20 01:52:39 .
My question is how to extract only the date without the time.
</div>