首页 > CMS建站 > 织梦DEDE > 正文

dedecms常用函数:FloorTime

2021-12-24 21:21:03
字体:
来源:转载
供稿:网友

FloorTime

>=dedecms 5.5

函数名:FloorTime

功能:将时间转换为距离现在的精确时间

参数:

$seconds='' 日期时间戳

返回值:

格式化以后的返回时间

范例:

{field:senddate function=FloorTime(@me)'/}


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表