[pmwiki-users] How to: calculate how many days left

Hans design5 at softflow.co.uk
Wed Feb 27 05:16:19 CST 2008


Wednesday, February 27, 2008, 10:41:34 AM, imoc wrote:

> Is this right? Thank all of you.

Yes. But if you only use the udays markup expression you won't need
to install the utime one.

And enclose the {$:Date} in '..' to preserve the whole string as
argument for udays:

     {(sub (udays '{$:Date}') (udays now) )}


  ~Hans




More information about the pmwiki-users mailing list