📅  最后修改于: 2022-03-11 15:01:57.858000             🧑  作者: Mango
var ts = '1471793029764';
ts = Number(ts); // cast it to a Number
var date = new Date(ts); // works
var invalidDate = new Date('1471793029764'); // does not work. Invalid Date