Skip to main content

month

month 介绍

month(date) - 返回日期/时间戳的月份部分。

Examples:

> SELECT month('2016-07-30');
7

Since: 1.5.0