js得到时间和php得到时间长度不一样?解决思路

WBOY
Release: 2016-06-13 13:35:25
Original
822 people have browsed it

js得到时间和php得到时间长度不一样?
js得到时间和php得到时间长度不一样?


------解决方案--------------------
传递给 js *1000 即可.

不一样很正常吧?
------解决方案--------------------
js 以毫秒为单位
php 以秒为单位

Related labels:
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!