Mysql Date Month

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

Mysql Date 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)