📜  javascript代码示例中的日期

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

代码示例6
var date = new Date(); //Will use computers date by default.
//parameters will specify date you put to input
var date = new Date(year, month, day, hours, minutes, seconds, milliseconds);