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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:58:09
Original
890 people have browsed it

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

t=1307041488303

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

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

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

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

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template