[pmwiki-users] Adding/subtracting days to ftime Page Text Variable

Simon nzskiwi at gmail.com
Thu Sep 4 02:34:55 CDT 2014

The ftime
you provided in your first post is evaluated server-side when PmWiki
generates the page for display.
PmWiki uses a built in PHP function (strtotime
<http://nz1.php.net/strtotime>) to calculate the date.

The rules for how the strtotime function reads and parses the strings to
achieve the things you ask about such as subtracting a day or two from a
date are described here -

On 4 September 2014 17:14, kirpi at kirpi.it <kirpi at kirpi.it> wrote:

> > http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime
> > provides the information you need.
> > In particular see the information. and importantly the link, about the
> > "when" parameter.
> Thank you Simon.
> I am not sure I understand what you mean :-)
> There is a link pointing to a strange name (strtotime) in a php
> website. You mean I should use php instead of javascript, perhaps? Ok,
> I will try...
> Luigi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20140904/201496d6/attachment.html>

More information about the pmwiki-users mailing list