Home  >  Article  >  Backend Development  >  请教上这个13位的时间是如何生成的1307041488303

请教上这个13位的时间是如何生成的1307041488303

WBOY
WBOYOriginal
2016-06-13 12:58:09803browse

请问下这个13位的时间是怎么生成的1307041488303
http://tieba.baidu.com/tb/poptipconfig.js?t=1307041488303

t=1307041488303

发现很多网站用13位的正数表示当前时间 这个数字是不断增加的

请问下这个13位的时间是怎么生成的
------解决方案--------------------

//UNIX时间戳<br />
echo time();

http://cn.php.net/manual/zh/function.time.php
------解决方案--------------------
js生成的,是13位。
------解决方案--------------------
js
alert((new Date()).getTime());

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn