[pmwiki-users] date math

TSgt Marshall Kelly marshall.kelly at txsg.org
Wed Oct 24 20:44:21 CDT 2007


Hello all,

Hope you don't mind another question.

I've gotten "(:if date yyyymmdd..:) execThisCode (:ifend:)" to work, and I
can use the "math" function.

But how can I use the current value of date in a math equation. I'd like
to determine if it's been X days since some event.

How can I parse the value of date (yyyymmdd) and break it into yyyy, mm,
and dd?

Thanks,
mk







More information about the pmwiki-users mailing list