Home Sql Sqldate Mysql Date Convert

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Convert

Advertisement
The 'Mysql Date Convert' show you the mean to format the Date.

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:-

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 31, 2008

Related Tutorials

Discuss: Mysql Date Convert  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com