Home > Backend Development > PHP Tutorial > js得到时间和php得到时间长度不一样?解决思路

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:35:25
Original
910 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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template