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:-
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Mysql Date Convert
Post your Comment