在Smarty模板引擎格式化时间戳
smarty 常量输出:
{$smarty.now|date_format:”%Y-%m-%d %H:%M:%S”}
Thinkphp模板引擎格式化方法:
{$create_time|date=”Y-m-d”,###}
Powered by: 博客园 Copyright © 2024 陈达辉 Powered by .NET 9.0 on Kubernetes