There is already a date in the format
2012-05-05 00:00:00
How to reduce, leaving only the date, and the hours, minutes and seconds to remove?
Of course, you can explode
, but there may be something more efficiently available, for example. through the same date
?