js格式化时间小结 废话不多说,先把各种格式化方法贴给大家 复制代码 代码如下: var myDate = new Date(); myDate getYear(); JavaScript 2022-04-09 91 点赞 1 评论 137 浏览