首页 > 代码库 > MONTH(date)

MONTH(date)

MONTH(date) 用于返回 date 对应的月份

mysql> SELECT MONTH(2017-02-23);+---------------------+| MONTH(2017-02-23) |+---------------------+|                   2 |+---------------------+

 

 

 

   

MONTH(date)