All,
I need to retrieve the date in some specific format in MYSQL. For eg,
it should return month/year(10/2009).
My MYSQL version is 5.1.
Thanks
date_format(yourdatefield, '%c/%Y') as formatted_date
will do that- http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-format