js获取指定时间戳第一种方法:var timestamp = Date.parse(new Date())结果:1280977330000第二种方法:var timestamp = (new Date()).valueOf()结果:12809773307482023-03-03JavaScript230