How to add months to a date (datetime object)?

Ned Deily nad at acm.org
Sun Mar 15 19:21:23 CET 2009


In article <49bd42ac$0$512$bed64819 at news.gradwell.net>,
 tinnews at isbd.co.uk wrote:
> I was just hoping there was some calendar object in Python which could
> do all that for me (I need the handling of 31st and February etc.)

Whatever your requirement, chances are dateutil will be of help:

<http://labix.org/python-dateutil>

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list