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) |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Mysql Date Month
Post your Comment