{$rows[tag].create_time|date_format:"%Y-%m-%d %T"} 其中$rows[tag].create_time 为获取到的时间戳
smarty 格式化时间戳
原文:http://seetobest.blog.51cto.com/1351397/1359992