会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sperad
闲
管理
2014年10月1日
php接收mysq数据库的时间戳问题
摘要: 数据库的时间戳是以毫秒计算的,"createDate":"1411977734000",而php中是以秒计算的,所有要将createDate的后三位删除掉,可以用php的substr()函数如:substr($question['createDate'],0,-3),,便可以获取以php计算的时间戳...
阅读全文
posted @ 2014-10-01 00:36 Sperad
阅读(281)
评论(0)
推荐(0)
2014年9月24日
the first Article
摘要: today, I write code for a day ,I'm very tired,but I am very happy .Although,some problem haunt me, today is a usually day for me .I will adhere every ...
阅读全文
posted @ 2014-09-24 23:08 Sperad
阅读(113)
评论(0)
推荐(0)