📜  Date.now 美丽的人类可读 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:08.205000             🧑  作者: Mango

代码示例1
var date = new Date();
console.log(date.toLocaleDateString());
console.log(date.toDateString());
console.log(date.toGMTString());