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;
+-------+ | Month | +-------+ | 12 | +-------+ 1 row in set (0.00 sec)
Posted on: January 20, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles