📅  最后修改于: 2022-03-11 15:03:41.482000             🧑  作者: Mango
var now = new Date();
timestamp = now.getFullYear().toString(); // 2011
timestamp += now.getYear().toString(); //
timestamp += now.getMonth(),
timestamp += now.getDate(),
timestamp += now.getHours();
timestamp += now.getMinutes();
timestamp += now.getSeconds();
timestamp += now.getMilliseconds();