month

语法

month(X)

参数

X 可以是时间标量或向量。

详情

返回对应的月份。

例子

$ month(2012.12.03);
2012.12M

相关函数: second, minute, hour, date, year