如何返回最近的频道录入/评论日期?

use*_*143 2 expressionengine

说实话,我不期待这个问题的答案.虽然听起来很简单,但我认为它可能非常复杂.

对于给定的通道我想回到一个日期/时间-这将是要么最新的渠道入境日期或最近的评论日期为准最近的日期/时间.

干杯李

小智 6

使用此处的统计模块返回所需的数据

http://expressionengine.com/user_guide/modules/statistics/index.html#variables

{exp:stats}
            Last Comment Date : {last_comment_date format="%m/%d/%Y %h:%i %a"}
            Last Entry Date : {last_entry_date format="%m/%d/%Y %h:%i %a"}
    {/exp:stats}
Run Code Online (Sandbox Code Playgroud)