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
<本文原载于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