I have a column I am using as part of a select that uses this format (2011-09-28 14:51:59). How do I remove the time element and just keep the date all within my query?
Try this one
SELECT DATE_FORMAT(PictureModifiedDateTime,'%y-%m-%d') AS FILE_DATE WHERE column = "blah"
or use date
SELECT DATE(PictureModifiedDateTime) AS FILE_DATE WHERE column = "blah"