<div dir="ltr">The <a href="http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftimehttp://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime">ftime </a>markup you provided in your first post is evaluated server-side when PmWiki generates the page for display.<div>

PmWiki uses a built in PHP function (<a href="http://nz1.php.net/strtotime">strtotime</a>) to calculate the date.</div><div><br></div><div>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 - <a href="http://www.gnu.org/software/tar/manual/html_node/Date-input-formats.html">http://www.gnu.org/software/tar/manual/html_node/Date-input-formats.html</a></div>

<div><br><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 September 2014 17:14, <a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a> <span dir="ltr"><<a href="mailto:kirpi@kirpi.it" target="_blank">kirpi@kirpi.it</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> <a href="http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime" target="_blank">http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime</a><br>


> provides the information you need.<br>
> In particular see the information. and importantly the link, about the<br>
> "when" parameter.<br>
<br>
</div>Thank you Simon.<br>
I am not sure I understand what you mean :-)<br>
There is a link pointing to a strange name (strtotime) in a php<br>
website. You mean I should use php instead of javascript, perhaps? Ok,<br>
I will try...<br>
<br>
Luigi<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>