网站制作学习网PHP→正文:Thinkphp模板输出时间
字体:

Thinkphp模板输出时间

PHP 2023/2/3 20:24:36  点击:不统计

<本文原载于www.forasp.cn>
 Thinkphp模板输出时间 ,输出年月日时分秒

{:date('Y-m-d H:i:s')}

如果有变量,转换为时间的话:

{$lastupdate|date='Y-m-d H:m:s'} 变量为时间戳
%77w%77%2E%66%6F%72%61%73%70%2E%63%6E

·上一篇:laravel : Uncaught [XSErrorException] vendor/shaozeming/xunsearch/src/ >>    ·下一篇:thinkphp6 initialize重定向 >>
推荐文章
最新文章