![PBOOTCMS调用时间标签[list:data],怎么调用不显示小时、分、秒](https://www.51yma.cn/d/file/jiaocheng/pbootcmsjiaocheng/1-220213100T55S.png)
应新上手的群友需求,问到pbootcms调用时间,怎么不显示小时、分、秒,所以就把这个问题整理一下。
内容列表时间格式化:[list:date style=Y-m-d] 内容详情页时间格式化:{content:date style=Y-m-d} |
备注:时间格式化标签和PHP时间格式化语法一致,分别用不同字母代替,中间可以穿插任意字符,如: Y-m-d、Y/m/d、Y年m月d日 等等
内容列表时间格式化:[list:date style=Y-m-d] 内容详情页时间格式化:{content:date style=Y-m-d} |