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



Home Sql Sqldate Mysql Date Month

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Month

Advertisement
Mysql Date Month is used to find out the value of current month.

Mysql Date Month

     

Mysql Date Month is used to find out the value of current month.

Understand with Example

The Tutorial illustrate an example from 'Mysql Date Month'. In this Example, The Query month (now( )) returns you value of the current month.

month(now( ) ) : The month (now( ) ) return you the value of current month.

Query for finding month:-

mysql> select month(now())as Month;

Output:-

+-------+
| Month |
+-------+
|    12 |
+-------+
1 row in set (0.00 sec)
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: January 20, 2009

Related Tutorials

Discuss: Mysql Date Month  

Post your Comment


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