Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Sqldate Mysql date month name

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql date month name

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

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

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: January 20, 2009

Related Tutorials

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
DMCA.com