On 12/05/2016 01:01 AM, StefCT wrote:
> A very crude solution might look like this:

I have updated my suggestion a bit. Now it should display the next three
dates:

(:include {$FullName}#datelist StartDate="today":)

(:include {$FullName}#datelist StartDate="+14days":)

(:include {$FullName}#datelist StartDate="+28days":)

(:if2 false:)
[[#datelist]]
(:if date {$$StartDate}.. 2016-12-04:)2016-12-04
(:elseif date {$$StartDate}.. 2016-12-18:)2016-12-18
(:elseif date {$$StartDate}.. 2017-01-01:)2017-01-01
(:elseif date {$$StartDate}.. 2017-01-15:)2017-01-15
(:ifend:)
[[#datelistend]]
(:if2end:)

Please note that this will only work correctly if all the dates are on
regular intervals.

Stef



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to