Mysql Date Convert
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
formatted.
'%W :- Returns the weekday name.
%e:- Returns the date.
%M:- Returns the Month name.
%Y':- Returns the Year.
Query:-
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') |
Output:-