Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

Mysql date month name

The Tutorial elaborate an example from Date Month Name in Mysql.

Ads

Mysql date month name

     

The Tutorial elaborate an example from Date Month Name in Mysql. To get the current value for the month of the year ,we use the following Query:

 date_format(now ( ),%M') return you the current month of the year. 

Query for selecting current month name:-

mysql> select date_format(now(),'%M')as Monthname;

Output:-

+-----------+
| Monthname |
+-----------+
| December  |
+-----------+
1 row in set (0.00 sec)

Advertisements

Share on Google+Share on Google+

Mysql date month name

Posted on: January 20, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Mysql date month name  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
biman
April 18, 2011
appreciation

THANKS A LOT... I can't imagine how I would have managed so many projects without roseindia

Ads

 

Ads