I am looking for functions similar to Time::Interval. I would like to be able to calculate the number of days between two dates, and vice versa, get a date that is a given number of days ahead from a given that.

I was wondering if this is already supported by WeBWork, and if not, whether there is a simple way to implement it with the existing tools.