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

Mysql Date Month

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

Ads

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)

Advertisements

Ads
Share on Google+Share on Google+

Mysql Date Month

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  

Post your Comment


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

Ads

 

Ads