thinkPHP时间戳格式化 如果在Action里就按照正常函数来写 $time = date("Y-m-d", $time);如果在模板里 就这样 {$time|date='Y-m-d',###} 看模板手册