Home Sql Sqldate Sql Date Conversion



Sql Date Conversion
Posted on: December 31, 2008 at 12:00 AM
The Tutorial illustrate an example from 'Sql Date Conversion'. To understand this, we show you an example that return you the specific format of date

Sql Date Conversion

     

The Tutorial illustrate an example from 'Sql Date Conversion'. To understand this, we show you an example that return you the specific format of date. This section shows you how to convert date :

'2008-12-04':-This is the date which is to be converted.

%d:-Returns the date from the date you specified.

%M:-Returns the month name from the date you specified.

%Y:-Returns the Year from the date you specified.

Query:-

SELECT DATE_FORMAT('2008-12-04', "%d-%M-%Y");

Output:-

Related Tags for Sql Date Conversion:
sqlcormconversiondateformioformatversiontutorialreturnriathisshowifforexampletoexamcisheilrsipefromrmstamtrspechowratetorxaxampsurnspatishallmplandstrspecifictutorssrithshosthatpleplndonomo


More Tutorials from this section

Ask Questions?    Discuss: Sql Date Conversion  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

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.