[pmwiki-users] Using dates in if Clauses with Pagelists

DaveG pmwiki at solidgone.com
Wed Jan 28 09:17:34 CST 2009

Ian Barton wrote:
  > What I want is to produce a pagelist that shows pages from this group
> with a pagename equal or greater than today's date. Using the pagelist 
> examples I have tried:
There was a thread on this yesterday titled "problem with PTV and if= 
date in pagelists", so you might want to check that as well. Here's what 
I use:
   if="date {(ftime %Y%m%d)}.. {=$Name}"

Or this for pages within a specific month:
   if="date 200901..200902 {=$Name}"

Note in this case, page names must be of the format yyyymmdd.

  ~ ~ David

More information about the pmwiki-users mailing list