📜  新日期 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:10.552000             🧑  作者: Mango

代码示例6
new Date();
// Sat Jan 16 2021 22:08:57 GMT-0500 (Eastern Standard Time)
Date.now();
// 1610852869057  -> Seconds passed since Jan 1,1970

// Set the date
new Date(year, month, day hours, minutes, seconds, milliseconds)