Tuesday, February 26, 2008, 4:29:26 AM, imoc wrote:

> The 'Date' field is a PTV insert by hand. The 'Appointment' field 
> is page title which I can click to edit or see the further detail.

> Now I'd like to add a new field to show  how many days left from 
> today to the due day.

use http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus
this adds basic math markup expressions.
Then you can write for how many days between Date PTV and now:

{(sub (ftime %j {$:Date}) (ftime %j now) )}


  ~Hans


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to