JavaScript Date 对象

记录几个常用到的方法
``
var d=new Date()
console.log(d)//Thu May 20 2021 16:17:09 GMT+0800 (中国标准时间)

d.getDate() //从 Date 对象返回一个月中的某一天 (1 ~ 31)。

未完待续。。。
原文地址:https://www.cnblogs.com/qingheshiguang/p/14790314.html