- 博客(2)
- 收藏
- 关注
转载 php接收mysq数据库的时间戳问题
数据库的时间戳是以毫秒计算的,"createDate":"1411977734000",而php中是以秒计算的,所有要将createDate的后三位删除掉,可以用php的substr()函数如:substr($question['createDate'],0,-3),,便可以获取以php计算的时间戳来进行计算,用data()函数将时间戳转换为当前时间如:$date = date...
2014-10-01 00:36:00 118
转载 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 day.No zuo No die,this artcie less than 2...
2014-09-24 23:08:00 102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人