摘要: /* * 格式化Json时间 Dx -add * date='/Date(1464883200000)/' * PHP的时间戳是10位的。而json格式化后的时间戳是13位的。0补位。 */ function renderTime($date) { $dates=str_replace("/Date(", "",$date); $dates=str_replace(")... 阅读全文
posted @ 2016-06-21 15:50 大楚打码人 阅读(600) 评论(0) 推荐(1) 编辑