[Zope] Date calculations in Zope

Dennis Allison allison@sumeru.stanford.EDU
Sat, 14 Dec 2002 15:23:37 -0800 (PST)


On Sun, 15 Dec 2002, Greg McCall wrote:

> Hi
> I am having trouble performing date calculations in Zope.
> I have a variable called dob which returns a date of birth from MySQL
> Ie. Date of Birth=<dtml-var dob> works fine
> I would like to be able to list the current age in years and months
> 

Read the DateTime() API carefully and use it.