Home > Backend Development > PHP Tutorial > 想对杰奇小说系统做二次开发,哪位高手知道这个系统数据库里日期函数的算法

想对杰奇小说系统做二次开发,哪位高手知道这个系统数据库里日期函数的算法

WBOY
Release: 2016-06-13 13:45:32
Original
1309 people have browsed it

想对杰奇小说系统做二次开发,谁知道这个系统数据库里日期函数的算法
想对杰奇小说系统做二次开发,谁知道这个系统数据库里日期的算法
它数据库里的日期如 1331691467 1331691434 1331691198
求分析

------解决方案--------------------
unix 时间戳

PHP code
$s = '1331691467 1331691434 1331691198';
foreach(explode(' ', $s) as $v)
  echo date('Y-m-d H:i:s', $v) . '<br>'; <div class="clear">
                 
              
              
        
            </div>
Copy after login
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