js怎么根据日期时间转换时间戳 获取当前时间戳(以s为单位)var timestamp = Date.parse(new Date())timestamp = timestamp 1000当前时间戳为:timestampconsole.log("当2023-02-28JavaScript140