The 'Mysql Date Convert' show you the mean to format the Date.
Understand with Example
The Tutorial describe you an example from 'Date Convert in Mysql' that return you the formatted date according to the day, date, month and year.
2008-12-07':- This is the date which is to be
'%W :- Returns the weekday name.
%e:- Returns the date.
%M:- Returns the Month name.
%Y':- Returns the Year.
The Query below return you the date format according to the day,date,month and year.
|SELECT DATE_FORMAT('2008-12-07', '%W %e %M %Y')|
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: December 31, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles