会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Vincefly
博客园
首页
新随笔
联系
管理
订阅
2017年7月10日
thinkphp 5 前台格式化输出日期
摘要: thinkphp格式化输出 {$time|strtotime|date="Y年m月d日",###} $time 是日期字符串,一般后台的时间是"Y-m-d h:i:s" strtotime()把字符串转化为时间整数 date(format, timestamp) 把整数时间timestamp按照fo
阅读全文
posted @ 2017-07-10 11:00 Vincefly
阅读(4408)
评论(0)
推荐(0)
编辑
公告