主页
JavaScript
JavaScript 日期方法
tryjs_date_month
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript getMonth()
getMonth() 方法以数字形式返回月份:
您可以使用数组来显示月份的名称: