摘要: 数据库的时间戳是以毫秒计算的,"createDate":"1411977734000",而php中是以秒计算的,所有要将createDate的后三位删除掉,可以用php的substr()函数如:substr($question['createDate'],0,-3),,便可以获取以php计算的时间戳... 阅读全文
posted @ 2014-10-01 00:36 Sperad 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(106) 评论(0) 推荐(0) 编辑