毫秒与秒的转换很简单:1秒=1000毫秒。 所以可以这样转换:. var mill = new Date().getTime();. var second = mill/1000;. console.log(second);.
確定! 回上一頁