Steve Glover wrote:
> Hi,
>
> Is there a way, please, of carrying out either arithmetic or comparisons
> when creating a PTV?
>
> I have {(ftime fmt="%Y%m%d" when="{$Title}")} which gets the date string
> from my page name as yyyymmdd and {(ftime fmt="%Y%m%d" when="{$Today}")}
> which gets today's date in the same format, and I'd like to be able to
> create a variable that will indicate if page dates are past, present or
> future.
>
Maybe you can achieve thiat with conditional markup: (:if date .... :)
Take a look at
http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users