Get month of a date : Month : Date Time SQL / MySQL


SQL / MySQL » Date Time » Month »

 

Get month of a date



SELECT MONTH(CURRENT_DATE);
/*
mysql> SELECT MONTH(CURRENT_DATE);
+---------------------+
| MONTH(CURRENT_DATE) |
+---------------------+
|                  10 |
+---------------------+
1 row in set (0.00 sec)

*/
           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

SQL / MySQL

 Navioo Date Time
» Month