主要是对这篇文章的补充https://www.moyublog.com/notes/317.html
1、某天发布的文章
[e:loop={'news',10,18,0,'newstime>='.to_time('2010-11-11 00:00:01').' and newstime<='.to_time('2010-11-11 23:59:59').''}]
=$bqr[title]?>=date("Y-m-d H:i:s",$bqr[newstime])?>
[/e:loop]
或 (to_time 换成 to_date)
[e:loop={'news',10,18,0,'newstime>='.to_date('2016-07-31 00:00:01').' and newstime<='.to_date('2016-08-31 23:59:59').''}]
=$bqr[title]?>=date("Y-m-d H:i:s",$bqr[newstime])?>
[/e:loop]
2、某一段时间发布的文章
[e:loop={'news',10,18,0,'newstime>='.to_time('2016-07-31 00:00:01').' and newstime<='.to_time('2016-08-31 23:59:59').''}]
=$bqr[title]?>=date("Y-m-d H:i:s",$bqr[newstime])?>
[/e:loop]
或
=DoTitleFont($bqr[titlefont],esub($bqr[title],28))?> =date("Y-m-d H:i:s",$bqr[newstime])?>
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!