主页
JS 参考手册
JavaScript getMonth() 方法
tryjsref_getmonth
运行 ❯
×
更改方向
保存代码
更改主题
单击按钮显示代表本月的数字。
试一试
注意:
0=一月,1=二月等。