tp框架中在html里怎么把时间戳转换成正常时间

2025-04-06 12:10:45
推荐回答(2个)
回答1:



$val是从控制器循环过来的数据

回答2:

{$vo['datetime']|date="Y-m-d H:i:s",###}