[Zope] working with datetime

Leichtman, David J code@ou.edu
Thu, 27 Jul 2000 17:19:11 -0500


Is there an easy way to increment the month or year of the DateTime object?

Adding a numeric value increments the day. Incrementing the year is easily
doable, but incrementing the month is significantly more difficult. So I'm
just curious if there's a function that will actualy modify the parts of a
DateTime object, or something way that I'm not thinking of to easily
increment the month.