Category talk:Time

Operations on time
It seems nothing exists to do operations on time (comparing dates and the such). I wrote some quick and dirty code in some templates to help me with that. Just in case this may help somebody, I thought I would share. I needed to compare a YYYY-mm-dd format date to the present timestamp (is that date in the past, in the future, etc...) to get a functional workflow management system with different priorities assigned to different timeboxes.

The base template, used and built upon in different ways, is the following:

In this precise case, I called the template and the call function therefore is , the output being a boolean value.

Rdavout 23:23, 4 August 2009 (UTC) Rdavout 23:41, 4 August 2009 (UTC)