js操作时间(年-月-日 时-分-秒 星期几) var myDate = new Date(); myDate getYear(); 获取当前年份(2位) myDate getFullYear(); 获取完整的 JavaScript 2022-04-08 53 点赞 0 评论 80 浏览