Files
doris/docs/documentation/cn/sql-reference/sql-functions/date-time-functions/monthname.md
xy720 4c2a3d6da4 Merge Help document to documentation (#1586)
Help document collation (integration of help and documentation documents)
2019-08-07 21:31:53 +08:00

406 B

monthname

description

Syntax

VARCHAR MONTHNAME(DATE)

返回日期对应的月份名字

参数为Date或者Datetime类型

example

mysql> select monthname('2008-02-03 00:00:00');
+----------------------------------+
| monthname('2008-02-03 00:00:00') |
+----------------------------------+
| February                         |
+----------------------------------+
##keyword
MONTHNAME