Date.getMonth()

可用性

Flash Player 5。

用法

my_date.getMonth()

参数

无。

返回

一个整数。

说明

方法;按照本地时间返回指定 Date 对象中的月份数(0 代表一月,1 代表二月,依此类推)。本地时间由运行 Flash Player 的操作系统确定。