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

Ian Barton lists at manor-farm.org
Wed Jan 28 13:03:19 CST 2009

>  > 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.
Thanks both of you, that does exactly what I want. My email is going a 
bit slowly at the moment for some reason, so I didn't see yesterday's 
discussion until after my post.


More information about the pmwiki-users mailing list