Hello,

I have been trying to figure out how to easily add just one month to a datetime object?

For example if my datetime is: 1/31/2005
I want to get 2/28/2005 after adding one month.

The max I can specify in a timedelta object is days.  However, since months vary in length, I can't just add 30 days.

I have seen where mxDateTimes are being used to do this, but I was wondering if there is simple way of doing this with built in datetime object?

Thanks in advance.

John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to