Home Sql Sqldate Mysql Date Month
Questions:Ask|Latest


 
 

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

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

Ask Questions?    Discuss: Mysql Date Month  

Post your Comment


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