📜  javascript 日期方法 - Javascript 代码示例

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

代码示例2
let date = new Date(); //actual time in miliseconds
let string = date.toString();
// expected output: Wed Jul 28 1993 14:39:07 GMT+0200 (CEST)
// if you need more power: date-fns.js or moment.js