在JavaScript中操作时间之getYear()方法的使用教程 javascript Date getYear()方法返回按照通用时间在指定日期的年份。getYear不再使用,已使用getFullYear方法取 JavaScript 2022-04-11 82 点赞 1 评论 124 浏览