var date = new Date();
var n = date.valueOf()
var date2 = new Date(n);
console.info(date.valueOf());
console.info(date2.toLocaleString());
2022-12-13 08:18:35
var date = new Date();
var n = date.valueOf()
var date2 = new Date(n);
console.info(date.valueOf());
console.info(date2.toLocaleString());