1
oott123 2017 年 9 月 23 日
Math.round(new Date / 1000)
|
2
SilentDepth 2017 年 9 月 23 日
楼主这个,用 code block 可好 = =
|
3
chengyanwei OP @SilentDepth 感谢指点,第一次发,没注意
|
4
chengyanwei OP @oott123 嗯嗯,主要是为了能加上一个某个时间往后推或者往前推这么一个功能,js 还在学习当中,感谢指点
|
5
Chemist 2017 年 9 月 24 日 via iPhone
moment 库?
|
6
SilentDepth 2017 年 9 月 24 日
@kyuuseiryuu #5 简单来说就是 Moment 的 Manipulate 功能
|
7
connection 2017 年 9 月 24 日
performance api.........
|
8
chengyanwei OP @SilentDepth @connection 了解了一下 moment.js 和 performance api 功能很强大,很有帮助,谢谢
|
9
yemage 2017 年 10 月 13 日
+new Date()
|