阅读背景:

Python Unix时间在Javascript中不起作用

来源:互联网 

In Python, using calendar.timegm(), I get a 10 digit result for a unix timestamp. When I put this into Javscript's setTime() function, it comes up with a date in 1970. It evidently needs a unix timestamp that is 13 digits long. How can this happen? Are they both counting from the same date? In Python, using calendar.timegm(), I get a 10




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: