Posted inMySQL Unix Extract only date from mysql datetime column in mysql Posted by By Haneef Puttur April 29, 2014No Comments Problem : Mysql database has datetime field and i want to get only date. Solution : SELECT CAST(`datetime_field` AS DATE) AS dateonly FROM etc…. Haneef Puttur View All Posts Post navigation Previous Post How to Set Expiry Date for particular Category in OSclassifiedsNext PostDynamic Footer Copyright Year using php